Basically this is a simple implementaion of Ken Thompson shell, who among others at Bell Labs (formerly AT&T Bell Telephone Laboratories) designed and implemented The original Unix operating system.
A shell is a user interface for accessing an operating system's services. It can be command-line-based or have a graphical user interface (GUI). In the context of operating systems like Unix, Linux, and others, a shell typically refers to a command-line interface where users interact with the system by typing commands.
-
Command Interpretation: The shell interprets user commands and translates them into a format that the operating system can understand and execute.
-
Scripting: Shells often support scripting languages, allowing users to write scripts (sequences of commands) to automate tasks. ..
-
File Manipulation: Users can navigate the file system, create, delete, and manipulate files and directories through shell commands.
-
Environment Customization: Users can customize their shell environment, setting variables, configuring aliases, and defining functions.
-
Input/Output Redirection: Users can redirect the input and output of commands, enabling powerful data manipulation and processing.
-
Job Control: Shells allow users to run multiple processes simultaneously and manage their execution.
- Before installation make sure you have the following installed on your local machine
- Once you have all those installed let's move on to the next step. Run this on your terminal
git clone https://github.com/Mk-0-wan/simple_shell && cd simple_shell
- Compile the file with the following command
gcc -Wall -Werror -Wextra -pedantic -Wunused -std=gnu89 *.c main.h -o Sshell