GNU Shell Functionalities implemented in C++