Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.27 KB

Ameya's Basic Shell (apksh)

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.

Features

  • 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.
    • exit or bye: Exit the shell.
    • man <command>: Display usage and description for the specified command.

Usage

To run the shell locally:

  1. Clone the repo
 git clone <repository-url>
 cd Shell
  1. Compile the source code
    gcc -o apksh shell.c
    
  2. Run the shell
    ./apksh
    

Note

If you are using a windows pc, you will have to first install WSL on your system and download an Ubuntu distro (or any other distro). Clone the repo in the WSL and run it in the linux environment

Maintainer

Ameya Khanzode