You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built a basic shell using C, with added functionalities(script support, pipes of any length etc.).
Usage
Download onlineshell.c file, compile with gcc on a unix based terminal and run the ".o" file.
Features
Supported Commands/Features are listed below, alongwith the test results on a Linux Terminal.
1. alias
2. dirs, pushd and popd
3. echo,ls with all options
4. History related commands: history,!,!!,!5,!-7 etc.
5. Inter-command logic : OR(||),AND(&&),AS WELL AS(;)
6. rmdir and mkdir alongwith -m and -p options
7. piping with any length of pipes. Example :
8. Freely changing prompts :
9. Running scripts. In the Example below, the file "shellfile" has a script of 3 lines(top part of image), which can be run
10. Supports Wildcard character "*" in all places! For example, in 「ls -l *.c」 etc. Another Example below :
About
Built a shell using C system libraries. Its Specialty is the implementation of n-length pipes of commands, in an easy-to-understand way. Supported Commands are listed in Readme.md