|
MiniShell 1.0.0
|
This is a minimal shell implementation for UNIX-like systems. It is a simple shell that can execute commands, output execution time and display exit status of the command.
The shell has a few internal commands that are implemented in the shell itself. The list will be updated as more commands are added.
exit: Exits the shell.cd: Changes the current working directory.pwd: Prints the current working directory.The shell can execute external commands that are available in the system. The commands are executed using the execvp system call. The shell will search for the command in the directories listed in the PATH environment variable.
If you are willing to try out the shell, you can use the following commands to build the shell.
The built shell will be located in the ./build/apps/shell directory.
You can install the shell using the following command.
The shell will be installed in the /usr/local/bin directory. You can run it using the msh command.