ByteShell is an implementation of a shell in C. it provides a basic command-line interface where users can execute commands and perform shell operations.
- Change the current working directory using the
cdcommand - Show the available commands using the
commandlistcommand - Write arguments to the standard output using the
echocommand - Return meaningful information about commands using the
helpcommand - Show current session history using the
historycommand - Logout from current session using the
logoutcommand - Return working directory name using the
pwdcommand
After the shell is running, the commands can be entered and executed. Some examples are:
- Change directory:
cd <directory> - Show available commands:
commandlist - Echo arguments:
echo <text argument> - Help for commands:
help <command> - View session history:
history - Logout from shell:
logout - Get current directory:
pwd