Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 585 Bytes

Readme.md

File metadata and controls

36 lines (25 loc) · 585 Bytes

Simple shell

dependencies

to install readline, feel free to edit it to use fgets or scanf refer to this link for reference on both.

sudo apt-get install libreadline6 libreadline6-dev

Features

  1. external commands: Can run any external command in /usr/bin.

  2. internal commands

    1. hello
    2. cd
    3. env
    4. set

Make from source

to compile the code

mkdir build
mkdir build/bin
make shell
make commands

Run

./build/shell