Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luppole/bash
My implementation for Bash (Shell) in C
https://github.com/luppole/bash
Last synced: 25 days ago
JSON representation
My implementation for Bash (Shell) in C
- Host: GitHub
- URL: https://github.com/luppole/bash
- Owner: Luppole
- Created: 2024-03-08T23:02:10.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-18T22:25:08.000Z (10 months ago)
- Last Synced: 2024-03-18T23:33:40.554Z (10 months ago)
- Language: C
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bash Shell In C
## A bash implementation created using CHi, the following code is my implementation for Bash (Shell) in C, and it contains some of the functionallities that the shell has.
## Commands
*history* - details the commands history of the user (ascending)*cd* (almost fully developed) - the regular change directory command (supports blank cd, cd .. and cd [DIR_PATH])
*ls* (not fully functioning) - the regular ls command, does support file permission details (rwx+)
*pwd* - straight forward directory prompt
*mkdir* (fully functioning) - creates a directory (supports blank args and given path)
*rm* - removing a file / directory from the system (supportes -r)
*file* - printing details about an attached file:
-> Owner
-> Size
-> Group
-> Permissions (under development)*cat* - printing the contents of a file
*echo* (not fully functioning) - basic echo functionallity.
## File Execution
The shell could run a binary (.bin) files using './' or '.' before the name of the file. (supports paths)
## Piping
Under development, but still working for some commands: echo, cat, ls
## Subproccessing
The shell is completely asynchronous