Welcome to Ameya's Basic Shell (apksh), a simple command-line shell written in C. This shell provides a basic command interface that supports various built-in commands for navigating and managing the file system.
- Built-in Commands: Supports the following commands:
cd <directory>: Change the current directory.ls [directory]: List the contents of the specified directory (current directory if not specified).mkdir <directory>: Create a new directory.pwd: Print the current working directory.echo <text>: Print the specified text to the console.help: Display information about built-in commands.exitorbye: Exit the shell.man <command>: Display usage and description for the specified command.
To run the shell locally:
- Clone the repo
git clone <repository-url>
cd apksh
- Compile the source code
gcc -o apksh shell.c - Run the shell
./apksh