Skip to content

aoriver716/Linux-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-Shell

A Linux shell written in C with piping and redirect capabilities.

Compiling

Compile on a Linux machine.

$ make

Usage

Call the shell with:

$ ./shell [-t] [-c]
#    -t Do not display prompt.
#    -c Do not print colors.

Syntax

$ exit
$ cd dir
$ command [< input_file] [| command] ... [> output_file] [2> output_file] [>> output_file]
#    < Redirect input.
#    > Redirect output (opens file with O_TRUNC).
#    2> Redirect errors (opens file with O_TRUNC).
#    >> Redirect output (opens file with O_APPEND).

License

MIT

About

A Linux shell written in C with piping and redirect capabilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors