A simple shell used to execute built-in Linux commands.
ByteShell is a UNIX-like command-line shell written in C. It’s a simple shell used to execute built-in Linux commands.
gcc (or any POSIX-compliant C compiler)# Use the provided compilation command:
gcc *.c
# This compiles all C source files and produces an executable (by default `a.out`).
# After a successful compilation, run:
./a.out
If everything is set up correctly, you will see the ByteShell prompt:
>
echo: Print its arguments to standard output.cd: Change the current working directory.pwd: Print the current working directory.exit: Exit the shell.Examples:
> echo hello world
hello world
> cd /
> pwd
/Users/Praveen/documents/projects-new/byte-shell
> exit
Contributions are welcome! To propose changes: