This is my assignment Question and I'd like someone to give me some clue so i can start the assignment.
Create a new file shell.c (or shell.cpp if you prefer C++). This will be our main shell program that will execute commands from a command line. Our shell should intepret the following built-in commands: •cd: changes the current working directory •pwd: prints the current working directory •echo: prints a message and the values of environment variables •exit: terminates the shell •env: prints the current values of the environment variables •setenv: sets an environment variable
Please help me out.. need help. clues will do.
Thankyou inadvance.