Skip to content

Latest commit

 

History

History
54 lines (51 loc) · 1.01 KB

README.md

File metadata and controls

54 lines (51 loc) · 1.01 KB

Minishell C

This is a program of a UNIX command interpreter and the reference shell is TCSH.

You can execute many commands like: cd, ls...

BUILD

make

USAGE

./mysh

CD

Change the current repository by using the command CD

cd 'folder'

LS

List directory contents of files and directories with the command LS

ls

SIMPLE REDIRECTION OUTPUT

Redirect standard output into a file

ls > 'file'

DOUBLE REDIRECTION OUTPUT

Redirect standard output and append into a file

ls >> 'file'

SIMPLE REDIRECTION INPUT

Redirect content of file as input

cat < 'file'

DOUBLE REDIRECTION INPUT

Make a infinite loop as long as you don't write the name after "<<", and then execute the command

ls << 'name'

PIPE REDIRECTION

Redirect a command executed output into a another command as input

ls | cat -e

EXIT

Exit the program ( You can also use CTRL + D )

exit