Welcome Resume References Education Course Work Contact

Operating Systems

Linux Shell Program

Design a Linux shell using C that will run on top of BASH (Bourn Again Shell) to do the following:
  • Print a command prompt with the user's name and current directory.
  • Read commands and arugments.
  • Find and execute commands and search the PATH environment variable if necessary.
  • Provide for background processing using the '&' argument.
  • Allow input and output redirection using the '<', '>' and '>>' arguments.
  • Allow for multiple piping of processes using the '|' command.
  • Allow for piping and redirection at the same time.
Utilise the following Linux system commands:
fork()
wait()
pipe()
chdir()
setenv()
getenv()
execv()
exevp()

Huyler Shell

I would have called it Chris Shell, but csh was taken.

back

top of page

next
Welcome :: Resume :: References :: Education :: Course Work :: Contact
chuyler1@ic3.ithaca.edu Last Revision: