bash like shell using node.js , starts with default working directory set to user's home directory
node shell.js --> to start shell
- cd <directory_name> - Should work same as bash shell. 2)pwd - Prints current working directory.
- ls <directory_name> - Should work same as bash shell. Support for flags is not required.
- <path_to_binary> - When path to a binary is provided, that binary should be spawned as a child process. The binary must receive all the arguments passed as space separated like arg1 arg2 โฆ.
- fg - Brings the background process with process id to foreground.
- exit - Closes the shell.