Skip to content

Second assignment of the OS course about implementing a Unix shell in C

Notifications You must be signed in to change notification settings

ujjwal123123/lab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Unix command shell

A command shell implemented in plain C using Linux system calls.

Features:

  • Pipes
  • Internal commands, like exit, cd, source, and echo.
  • Input/output redirection
  • Support for Ctrl + C
  • ; for command separation
  • & to put process in background

Instructions

Clone the repository and build the project using:

gcc a.c -Wall -Wextra -o shell

Then run the shell with this command:

./shell

The shell should be up and running!

About

Second assignment of the OS course about implementing a Unix shell in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages