This is a bash-like shell created with the Node JS (tested on v18.10.0). Shell starts with deafult working directory set to user's home directory.
-
Understanding Shells
https://www.ibm.com/docs/en/aix/7.2?topic=administration-operating-system-shells
https://www.redhat.com/sysadmin/jobs-bg-fg
https://unix.stackexchange.com/questions/702325/what-signal-do-bg-and-fg-send
https://en.wikipedia.org/wiki/POSIX_terminal_interface#Controlling_terminals_and_process_groups
-
Node JS official Documentation
https://nodejs.dev/en/learn/reading-files-with-nodejs/
https://nodejs.org/api/process.html
https://stackoverflow.com/questions/9018015/remove-tab-t-from-string-javascript
https://nodejs.org/api/readline.html
https://www.geeksforgeeks.org/node-js-process-object/
https://attacomsian.com/blog/nodejs-check-if-file-readable-writable-executable
-
Miscellaneous
https://github.com/samerbuna/efficient-node
https://stackabuse.com/executing-shell-commands-with-node-js/
https://medium.com/@aratakagan/implementing-basic-shell-commands-with-node-js-eac5dba33174
https://www.geeksforgeeks.org/difference-between-spawn-and-fork-methods-in-node-js/
https://stackoverflow.com/questions/17861362/node-js-child-process-difference-between-spawn-fork