Skip to content

A shell implemented purely in C using basic system calls/forks

Notifications You must be signed in to change notification settings

kUSHAL0601/SHELL-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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