Toy shell written in node.js
In the root of the project run the following commands
node shell.js
- user's home directory set as current working directory by default
- ls <directory_name> command
- pwd command
- cd <directory_name> command
- exit
- <path_to_binary> command (spawn child process)
- fg command (err: no job control)
- Ctrl + C (SIGINT) terminates spawned process
- Ctrl + Z to send process to background (err: no job control)