aim97 / Simple-Shell

A simple linux shell made as a demo and practice project for Shoubra Faculty of engineering, OS course students

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple linux shell made as a demo and practice project for Shoubra Faculty of engineering, OS course students

License:GNU General Public License v3.0


Languages

Language:C 91.7%Language:Makefile 8.3%