This is a simple shell written in C. It supports the following commands:
cd
- Change directoryls
- List filespwd
- Print working directoryexit
- Exit the shell
To use the shell, simply run the ./hsh
file.
You will then be presented with a prompt where you can enter commands.
The following code snippets show how to use the shell:
# Change directory to the home directory
cd ~
# List files in the current directory
ls
# Print working directory
pwd
# Exit the shell
exit
``
Our shell was built and tested on Ubuntu 14.04 LTS.
1- First, Fork this Repository Learn how to fork repo. 2- Then Clone Learn how to clone . 3- Create an executable by running the following command: 4- gcc -Wall -Werror -Wextra -pedantic *.c -o hsh 5- From there, type in the following command and press your enter button. 6- ./hsh
This is a simple shell written in C. It is easy to use and understand, and it can be used to perform a variety of tasks.
Authors: Ahmed Ali and Omnia Saged.