Cshell is a shell written in C to recreate the unix experience.It allows one to:-
- Change directories
- Create directories
- Extract contents from a file
- Echo text to the console
- Change the background and the foreground color of the terminal
To compile and run the program, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/your-repo.git
- Compile the main file by running the following the command :
gcc -o grp grp.c
- After compiling the files, run the executable:
grp.exe
Compile the shell.c with gcc as - gcc -o shell shell.c
Run the executable shell.exe
Once the program is running, you can enter commands in the shell prompt. Here are some examples:
- Changing the directory
cd.online-video-cutter.com.mp4
- Creating the directory
mkdir.online-video-cutter.com.mp4
- Extracting the contents of a file
cat.mp4
- Echo content to the console
echo.online-video-cutter.com.mp4
- Changing the color
color.online-video-cutter.com.mp4
- Exit the shell
exit.mp4
- help for getting a list of the commands
help.mp4
- Windows 7 or higher
- linux
- Gcc compiler
- Adding a compression tool to the shell
- Implementing the grep command
- Integrating it with Gcc such that it can run C programs
- Allowing the usage of pipes (|)
- This project is under development.Feel free to contribute to it.