Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 774 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 774 Bytes

SHELL-in-C:

Commands implemented:

  1. pwd: Outputs the name of current directory
  2. echo : Outputs the string
  3. ls [-la,]: ls shows the contents of the file,-a flags shows the hidden files also,-l shows it in long form,ls dirname shows the contents of given directory.
  4. cd : Go to directory
  5. pinfo : pinfo shows information related to if specified otherwise related to current process
  6. nigtswatch -n <dirty,interrupt> : Shows dirty memory or interrupts of CPU according to chosen option after every

HOW TO RUN:

Just type make and run ./SHELL file generated

NOTE:

q followed by ends nightswatch e in CLI quits the shell