Skip to content

My own Linux shell implementing 10 commands with two options each.

Notifications You must be signed in to change notification settings

ananyalohani/lohanish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lohanish

Overview

A Linux shell coded in C, consisting of 10 commands with 2 options each and accepting all possible arguments. Coded both internal and external commands, using fork() and exec() system calls respectively. Also handled various corner cases and errors.

Instructions

Run the following commands on the terminal

git clone https://github.com/ananyalohani/lohanish.git
cd lohanish
make
./shell

For the full details of implementation, check out documentation.pdf.

Commands

Internal

  • cd: -P, --help

  • echo: -n, -E

  • history: -c, -d

  • pwd: -P, --help

  • exit

External

  • ls: -m, -D

  • cat: -n, -E

  • date: -u, -R

  • rm: -v, -i

  • mkdir: -v, -p

Demo

image

image

image

image

Made By

Ananya Lohani | GitHub

About

My own Linux shell implementing 10 commands with two options each.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published