Holberton Shell (hsh) is a simple command line shell. This is a culmination of everything we have learned about the C programming language thusfar.
To use hsh, you can give it commands. hsh
commands follow the following syntax: command name {arguments}.
Commands Typing the filename in a program located in any of the directories in the [PATH] runs the command.
ls
The ls
command lists all directories and files in the current working directory.
List of useful commands
ls
- lists all files and directories of current working directory
- Clone the repository:
git clone https://github.com/King-Kingah/simple_shell.git
or
git clone https://github.com/theurikenneth/simple_shell.git
- Complile:
gcc -Wall -Werror -Wextra -pedantic *.c -o hsh
- C programming language