Skip to content

My implementation of a Unix shell from CSCI 315: Operating Systems

Notifications You must be signed in to change notification settings

yashbhutwala/yash-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Yash's Shell

This is a basic, lightweight implementation of a UNIX shell.

To compile and run the shell, first make sure to create ./bin and ./obj directories and then run:

>> make clean
>> make
>> ./bin/yashShell

In addition to typical shell commands, features include:

  • When the user presses the “enter” key twice in a row, the shell displays the list of files in the current working directory.
  • >> touch hello.c; touch hello2.c; rm -rf hello.c: Reads multiple commands separated by a semicolon character.
  • >> history : Prints the previous HIST_LEN number of commands.
  • >> time : Prints the current date and time in an human readable form.
  • >> cd : Changes the directory.
  • >> ps -ef | grep root: Piping.
  • >> exit : Exits the yashShell.

This was built as part of my CS 315: Operating Systems course. Links to the original assignment are listed here:

About

My implementation of a Unix shell from CSCI 315: Operating Systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published