Originally Posted by vikas_choudharyy
MTK358: i got an assignment from my teacher to write my own shell which should work similar to bash shell of linux. it should
perform the tasks feed as commands, if command is not valid, it should show invalid command.
You mean it has to validate if the commands exist and, if they do, it has to use bash to run them? Presumably it is not required to check the syntax of the commands ... ? Does it have to service bash builtins and aliases or only externals? Did your teacher say which language you can do this in?