Skip to content

wayfarer-ismail/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

#Implementing a Shell in C that behaves like bash

when executed it does:
• Print a prompt (# character).
• Read in a line from stdin.
• This line will be a command followed by space separated arguments.
• Execute the command with the given arguments.
• Wait until command completes.
• Print the prompt again and accept more commands.
• Exit when EOF is received (Ctrl+D).

The implemented commands are:

  1. ls
  2. sleep
  3. pwd
  4. mkdir
  5. cd
  6. rmdir
  7. echo
  8. whoami
  9. cat
  10. head

About

A basic implementation of a shell that executes commands listed in README and can redirect standard out

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published