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
- Host: GitHub
- URL: https://github.com/kkli08/cli-shell
- Owner: kkli08
- Created: 2022-12-27T04:43:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T21:39:14.000Z (over 1 year ago)
- Last Synced: 2025-02-07T15:45:26.940Z (11 months ago)
- Topics: multi-processing, shell
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.