Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Shell in C++

This project implements a basic POSIX-style shell in C++. The shell supports:

  • Command Execution: Run system commands with arguments.
  • Built-in Commands: Includes cd, echo, pwd, ls, history, pinfo, and search.
  • I/O Redirection: Supports input/output redirection (<, >, >>).
  • Pipelines: Handles piped commands (command1 | command2).
  • Background Processes: Execute commands in the background using &.

The shell also handles CTRL-C and CTRL-Z for managing foreground processes.

to run this file use the following commands

        g++ shell.cpp -o shell
        ./shell

About

custom POSIX shell using c++

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages