Skip to content

Implement a simplified command shell supporting redirections and pipes.

Notifications You must be signed in to change notification settings

rjsun06/ashell-in-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ashell-in-Cpp

Implement a simplified command shell supporting redirections and pipes.

Test cases:

  • Uses read/write (only) for I/O
  • Returns shell to normal after command
  • Displays 16-character max prompt correctly
  • Arrow keys and bell function as expected
  • cd command changes directly correctly
  • ls command prints listing correctly
  • pwd command prints the current working director correctly
  • ff command correctly outputs matching files
  • exit command exits the shell
  • Executes external programs correctly
  • Piping between commands works correctly without hangs
  • File redirection works correctly for commands
  • capable of running external scripts.( Running bash2048 in Ashell be like:) 6da8ea532fbb80c96cd76a8bed81fd9

Tips for system calls used in this project:

About

Implement a simplified command shell supporting redirections and pipes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published