¿What is Shell? The shell is an operating system tool that mediates between the user and the operating system kernel. Every time you perform an action on your computer, the shell is acting without you noticing it.
In this project the reconstruction of the Unix Shell a command line interpreter is performed, which communicates with various programs thus performing actions similar to Unix operating systems.
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh and run the interpreter mode with ./hsh. In addition, use echo "ls" | ./hsh to use non-interactive mode.
All of the following folders are projects done during the studies:
| Command name | Description |
|---|---|
ls [options] |
This command lists information about directories and any type of files in the working directory. |
pwd |
the pwd command (print working directory) writes the full pathname of the current working directory to the standard output. |
echo [argument] |
echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that is mostly used in shell scripts and batch files to output status text to the screen or a file. |
env |
this command print all environment variables. |




