Skip to content

susc/SimpleShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SimpleShell

This is a simple Shell implemented in C language, aimed at helping users understand the basic working principles of Shell. It can execute internal commands (e.g., help, exit) and external commands (e.g., ls, cd) and supports pipe (e.g., ls | less).

Features

  • Easy-to-understand code for learning purposes
  • Implements basic command-line functionality
  • Easy to extend and add more command-line functionality

How to use

After downloading the project, run the following command in the command line:

gcc main.c -o main

Then, you can run the generated executable file:

./main

You can now execute basic command-line operations in the Shell! Type help and press enter to output the help information for this Shell, and type exit and press enter to exit the program.

Contributions

If you'd like to contribute to the project, submit your pull request on GitHub. Your participation is highly appreciated!

License

The project is open-sourced under the GNU General Public License.

About

A simple shell written in C.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages