Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages