A simple shell.
This program was developed by Yuta-Fujimoto and AuroraSloan
- Search and launch any executable in $PATH
| Command | Options / Arguments |
|---|---|
echo |
-n |
cd |
relitvie or absolute path |
pwd |
n/a |
export |
no options |
unset |
no options |
env |
n/a |
exit |
no options |
'inhibits all interpretions of a sequence of characters"inhibits all interpretation of a sequence of characters except for $- Environment values expand to their values
$?expands to the most recently executed foreground pipeline
<redirects input>redirects output<<reads input from the current source until a linie containing only the delimiter is seen>>redirects output with append mode
- The output of each command in the pipeline is connected via a pipe to the input of the next command
Ctrl-cprints a new prompt on a new lineCtrl-dexits the shellCtrl-\does nothing
git clone https://github.com/AuroraSloan/minishell.gitFirst, create the executable with make
make - compiles the minishell executable
make clean - removes all object files
make fclean - removes all object files and the executable
make re - removes all object files and the executable before recompiling the program
In order to run the program, simply run the executable.
./minishellTo exit the program, you can use the builtin command exit or press Ctrl-d.
