Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 839 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 839 Bytes

Node-Shell

Toy shell written in node.js

Installation

In the root of the project run the following commands

  node shell.js

Features

  • 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)

References