-
Notifications
You must be signed in to change notification settings - Fork 1
hossamkhader/csc562-shell
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
################################################################################ Hossam Khader for CSC 562 Shell Project 01 E-mail: [email protected] ################################################################################ Built and tested on RHEL6 (i.e. prdile.uncg.edu) To build: make CONF=Release The executable binary will be in dist/Release/GNU-Linux-x86/ ################################################################################ The shell implements the following built-in commands: cd cd . cd .. cd - cd ~ cd absolute path cd relative path exit pwd ################################################################################ Below is a brief summary of the code: The getenv() and the setenv() functions are called by the cd_command() function to retrieve or update the value of the $PWD and $OLDPWD environment variables. The execute() function uses the fork(), exec(), and wait() system calls to run other programs. The execvpe() variant is used, and the environment variables vector is passed to it.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published