An open API service indexing awesome lists of open source software.

https://github.com/yashbhutwala/yash-shell

My implementation of a Unix shell from CSCI 315: Operating Systems
https://github.com/yashbhutwala/yash-shell

bucknell c operating-system unix-shell

Last synced: 6 months ago
JSON representation

My implementation of a Unix shell from CSCI 315: Operating Systems

Awesome Lists containing this project

README

          

* * *

# Yash's Shell

This is a basic, lightweight implementation of a UNIX shell.

To compile and run the shell, first make sure to create `./bin` and `./obj` directories and then run:

```bash
>> make clean
>> make
>> ./bin/yashShell
```

In addition to typical shell commands, features include:

- When the user presses the “enter” key twice in a row, the shell displays the list of files in the current working directory.
- `>> touch hello.c; touch hello2.c; rm -rf hello.c`: Reads multiple commands separated by a semicolon character.
- `>> history` : Prints the previous HIST_LEN number of commands.
- `>> time` : Prints the current date and time in an human readable form.
- `>> cd` : Changes the directory.
- `>> ps -ef | grep root`: Piping.
- `>> exit` : Exits the yashShell.

This was built as part of my CS 315: Operating Systems course. Links to the original assignment are listed here:

-
-