Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.07 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.07 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 apksh
  1. Compile the source code
    gcc -o apksh shell.c
    
  2. Run the shell
    ./apksh
    

Maintainer

Ameya Khanzode