MySH is a custom shell written in Rust.
Install Rust and Cargo.
git clone https://github.com/NelsonJTSM/MySH
cd MySH
cargo run
MySH has certain functions similar to /bin/bash
, these include.
movetodir [directory]
Which moves to the given directory.
whereami
Which displays the directory the shell is currently in.
history
Which prints the history of commands used.
If the -c
flag is passed, it clears the history.
byebye
Terminates the MySH shell.
start [program] [args]
Executes the given program.
Currently only uses full path.
background [program] [args]
Executes the given program and puts it in the background.
Outputs: The process' PID.
exterminate [PID]
Immediately terminates the program with the specific PID.
exterminateall
Exterminates all the programs started by MySH.
repeat [n] [command] ...
Runs the given shell command n
amount of times.
[] Better error handling
[] Change the directory hierarchy