Skip to content

ismaeelbashir03/BASH_ir_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Shell in C - BASH_ir

Description

This project is a simple custom shell implemented in C.

Features

  • Basic command execution (e.g. ./executable arg1 arg2)
  • Custom built-in commands (e.g., cd, exit, ls, cat, echo)

Installation

To compile and run the custom shell, follow these steps:

  1. Clone the repository:
    git clone https://github.com/ismaeelbashir03/BASH_ir_shell.git
  2. Navigate to the project directory:
    cd BASH_ir_SHELL
  3. Compile the source code using make:
    make
  4. Run the shell:
    ./output/BASH_ir

Usage

Once the shell is running, you can use it to execute commands just like a regular shell. Here are some examples:

  • Running a command:
    ls -l
  • Using built-in commands:
    cd /path/to/directory
  • Exiting the shell:
    exit
  • Displaying the help message:
    help
  • Running a script (sample script provided in the sample_script directory):
    ./sample_script/gof

About

A custom shell in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published