Skip to content

vivianalongjam/Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell

A simple shell that handles three internal commands – ‘cd’, ‘echo’ and ‘pwd’ and five external commands – ‘ls’, ‘cat’, ‘date’, ‘rm’ and ‘mkdir’.

External commands have been handled using two methods.

  • Creating a new process using the fork() system call and using the execvp()call to run the individual program for the external command.
  • Creating a thread using pthread_create() and system() call rather than execvp().

Two options per command have been provided. Refer to the descriptions folder for more information on the usage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published