/simple_shell

Group Project (simple_shell)

Primary LanguageC

0x16. C - Simple Shell 0 - Write a beautiful code that passes the Betty checks 1 - Write a UNIX command line interpreter. 2 - Simple shell 0.1 +. Handle command lines with arguments. 3 - Simple shell 0.2 +. Handle the PATH. fork must not be called if the command doesn’t exist 4 - Simple shell 0.3 +. Implement the exit built-in, that exits the shell. Usage: exit. 5 - Simple shell 0.4 +. Implement the env built-in, that prints the current environment. 6 - Simple shell 0.1 +. Write your own getline function. 7 - Simple shell 0.2.1. You are not allowed to use strtok. 8 - Simple shell 0.4.1. handle arguments for the built-in exit. Usage: exit status. Status is an integer. 9 - Simple shell 1.0. Implement the setenv and unsetenv builtin commands. 10 - Simple shell 1.0 +. Implement the builtin command cd: 11 - Simple shell 1.0 +. Handle the commands separator ; 12 - Simple shell 1.0 +. Handle the && and || shell logical operators. 13 - Simple shell 1.0 +. Implement the alias builtin command. Usage: alias [name[='value'] ...] 14 - Simple shell 1.0 +. Handle the $? variable. Handle the $$ variable. 15 - Simple shell 1.0 +. Handle comments (#). 16 - Simple shell 1.0 +. Usage: simple_shell [filename]