Skip to content

A Unix shell written in C. Based on exercise project No. I of chapter 3 from the book Operating System Concepts 10th

License

Notifications You must be signed in to change notification settings

yoelbassin/Unix-Shell-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Unix Shell

A Unix shell written in C

This project consists of designing a C program to serve as a shell interface that accepts user commands and then executes each command in a separate process. Implementation supports input and output redirection, as well as pipes as a form of IPC between multiple commands. The project is based on the UNIX fork(), exec(), wait(), dup2(), and pipe() system calls for UNIX.

The shell uses the GNU Readline library, so for compiling the program use gcc shell.c -o shell -lreadline, and ./shell for running it. If the computer doesn't have the library installed, use sudo apt-get install libreadline-dev to install it.

About

A Unix shell written in C. Based on exercise project No. I of chapter 3 from the book Operating System Concepts 10th

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages