C-Shell emulates a Linux terminal, coded in C. It parses user input, handles running processes in the foreground and background and and appropriately redirects signals, and executes built-in and system commands.
The following commands are built into C-Shell:
| cd [directory] | change directory |
| rm [file] | delete file |
| ln [source] [target] | link source to target |
| jobs | change directory |
| bg %[job_id] | display current jobs in the foreground and background |
| fg %[job_id] | run specified process in the foreground |
| [command] & | execute command in the background |
| < | standard input redirection |
| > | standard output redirection |
| >> | standard output redirection with appending |
| exit | clean up running processes and exit |
Other commands (not built-in) such as /bin/cat can also be executed.
Code cannot be shared publicly.