Skip to content

A command line shell written in C to bring back the Unix experience

Notifications You must be signed in to change notification settings

Saptarshi2001/Cshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Cshell

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

Getting Started

To compile and run the program, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/your-repo.git
  2. Compile the main file by running the following the command : gcc -o grp grp.c
  3. After compiling the files, run the executable:grp.exe

Usage

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

System requirements

  • Windows 7 or higher
  • linux
  • Gcc compiler

Roadmap

  • 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 (|)

Contributing

  • This project is under development.Feel free to contribute to it.

About

A command line shell written in C to bring back the Unix experience

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages