Skip to content

chouhlaoui/Customized-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customized Shell

Usage

With this Shell you can:

  • Execute commands with two modes: Batch mode and interactive mode

    Once you launch the program, you find a prompt waiting for you to write a file name so it can use the batch mode or a command so it can use the interactive mode.

  • Use cd and all other general commands available in UNIX shell.

  • Use composed Commands << cmd1 ; cmd2 >> OR << cmd1 && cmd2 >> OR << cmd1 || cmd2 >>

  • Check your history and trace your command lines:

  • Check the History since the day you first started using the shell by typing “history” or you can find the last commands you wrote in the current session with ↑

  • Have pipe Handling

  • Have error Handling And finally, you can exit whenever you want using << quit >>

Combination between Interactive and Batch mode

Why the combination is better

Documentation

General Architecture

General Architecure

Executing File Architecture

Part Two of Executing File Architecture

Part One of Executing File Architecture

Requirements (required)

Install gcc

  sudo apt install gcc
  sudo apt install build-essential

Verify make version

  make -version

Install make if you don't have it

  make -version
  sudo apt install make

Run Locally

Clone the project

  git clone https://github.com/chouhlaoui/Interpreteur-De-Commande-Shell.git

Go to the project directory

  cd Interpreteur-De-Commande-Shell.git

Compile the project

  make Compile

Start the program

  make Run

Remove the executable file

  make Reset

Testing

We've added 2 bash files you can use them for tests and typical UNIX commands.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published