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

https://github.com/kkli08/cli-shell

A mini bash shell
https://github.com/kkli08/cli-shell

multi-processing shell

Last synced: 9 months ago
JSON representation

A mini bash shell

Awesome Lists containing this project

README

          

# CLI-Shell
Build a mini Command line shell interface.

`[systems programming]` `[process communication]` `[resource management]`

### Author
Ke Li

### Description
This is a School Project Using C and Linux.

Run program by:\
`make`\
`./shell379`

### Commands
`exit`
* End the execution of shell379. Wait until all processes initiated by the
shell are complete. Print out the total user and system time for all
processes run by the shell.

`jobs`
* Display the status of all running processes spawned by shell379. See
the print format below in the example.

`kill `
* Kill process ``.

`resume `
* Resume the execution of process ``. This undoes a suspend.

`sleep `
* Sleep for `` seconds.

`suspend `
* Suspend execution of process ``. A resume will reawaken it.

`wait `
* Wait until process `` has completed execution.

` `
* Spawn a process to execute command `` with 0 or more arguments ``. `` and `` are each one or more sequences of nonblank characters.