Skip to content

This repository contains a basic linux implementation in c.In addition, the commands tee, cp and dirname have been implemented

Notifications You must be signed in to change notification settings

SironaMiulescu/Linux-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-Shell

This repository contains a basic linux shell with three other commands, namely cp,tee and dirname.

The shell runs by entering "gcc -o myShell myShell.c -lreadline tee.c cp.c dirname.c" in the terminal

The shell offers the following functionalities:
-searching through past commands by using up and down arrow keys;
-exiting on entering the 'exit' command
-it offers some help regarding the usage of the three commands. This is done by entering the 'help' command
-by entering 'version' in the terminal, information about the author and general information about the shell will be printed
-also supporting multiple pipes, input & output redirection
-a farewell message is printed at the closing of the shell\

The three commands are meant to immitate the behaviour of the linux commands, but minor adjustments have been made. For example to dirname was added the possibility to print the current directory if no string was given.

The shell and the commands were implemented for the Computer Science lecture in year 2,Operating Systems, lecture held at West University of Timişoara.

About

This repository contains a basic linux implementation in c.In addition, the commands tee, cp and dirname have been implemented

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages