Skip to content

Interactive linux shell that can execute common UNIX commands and some custom commands. Project 1 of COMP304 - Operating Systems

Notifications You must be signed in to change notification settings

DorukTaneli/linux-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Linux-Shell

This code was developed by Doruk Taneli and Ekin Ozkan as a project of Operating Systems course.

Description

We implemented an interactive linux shell that can execute common UNIX commands and some custom commands.

The shell supports background execution of commands with an ampersand (&) at the end of the commandline.

We implemented an history function. history command shows the last 10 commands. !! command shows the last command, !n command shows the last nth command.

There is also I/O redirection function. A sample terminal line for I/O redirection:

program arg1 arg2 > outputfile

For the I/O redirection if the redirection character is >, the output file is created if it does not exist and truncated if it does. If the redirection symbol is >> then the output file is created if it does not exist and appended if it does.

There is a custom command called birdakika. This command schedules a song specified by the user to play every day at a time specified by the user. It is implemented utilizing crontab. Sample use of the command:

birdakika 7.15 song_name.wav

There is another custom bd command. It wishes you a happy birthday if your birthday is today. Sample use of the command:

bd 29 04

About

Interactive linux shell that can execute common UNIX commands and some custom commands. Project 1 of COMP304 - Operating Systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages