Skip to content

acmpesuecc/Shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%