Skip to content

mehakagarwal/LinuxShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Linux-shell-in-c-

A basic linux shell implementation in c++

Using POSIX library , implemented a basic shell in c++, which executes the standard linux commands.The key highlight is the execution of multiple pipes , and input and output redirection.

Direction to run the code:

bash executable.sh

Features covered:

  1. History command
  2. Multiple pipes
  3. input output redirection
  4. input output redirection along with single pipe.
  5. Multiple pipes with redirection to output.
  6. !(bang) operator [ !+, !-,!!]
  7. basic environment variables ($PWD,$HOME etc...)
  8. Basic linux commands (ls,clear,pwd,wc etc...)
  9. change directory (cd) command
  10. exit command

About

A basic linux shell implementation in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published