Skip to content

saoodahmad/Node-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Toy shell written in node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published