Skip to content

C Program to serve as a shell interface that can accept user commands and then execute each command in a separate process. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command.

Notifications You must be signed in to change notification settings

jerin10john/UNIXShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UNIXShell

C Program to serve as a shell interface that can accept user commands and then execute each command in a separate process. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command. This program was developed as part of my CS 3SH3 : Operating Systems class.

Usage

To use this shell, run the following commands.

  1. Download the shell.c file
  2. Run the following command to create an executable file:
    1. gcc shell.c -0 osh
  3. There should now be an executable file called osh
  4. Run the following command to start the following command:
    1. ./osh
  5. The User should now see the prompt ‘osh>’

About

C Program to serve as a shell interface that can accept user commands and then execute each command in a separate process. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages