Byteshell is a C++-based command shell that is compact and flexible. This is a straightforward C++ shell programme. You can use it to run different commands, switch directories, make new folders and files, edit existing files, and more.
- Display current directory:
pwd
- Change directory:
cd <dir>
- list directories:
ls
- Display help for commands:
help
- Display recent command history:
history
- Exit the shell:
exit
To compile and run the shell program, follow these steps:
-
Clone the repository:
git clone https://github.com/Avishkarp231/Byteshell.git
-
Change to the project directory:
cd src
-
Compile the code:
g++ shell.cpp -o master
-
Run the shell program:
./master
The shell program has the following dependencies:
- C++ compiler
iostream
libraryvector
librarystring
librarycstring
librarycstdlib
libraryunistd.h
librarysys/stat.h
librarysys/types.h
librarysys/wait.h
libraryfstream
librarymemory
library
Better to use ubuntu 20.04 environment.
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is done under ACM IIT-R.