Hello, Rustaceans!
I was playing around with systems programming a couple of months ago and ended up writing a mini-shell program (demo in README):
https://github.com/bexxmodd/cr4sh_
cr4sh_ (pronounced crash, because it crashes all the time) is built purely with Rust and currently can support the following functionality:
-
Multiprocessing
-
SIGINT and SIGKILL signal handling
-
Execution of OS executables
-
Redirection of standard input output
-
Appending stdout to the file
-
Piping commands and combining with redirection
-
cd - command to change directories
-
touch - for creating files and updating accessed & modified dates
-
&& - calls to chain multiple commands
The project is in its early stage (v 0.0.1) but I plan to extend this project and have lots of TODO items on the list and I'll be adding more. I'll be happy if some of you decide to contribute, refactor, comment, give feedback!
Also, I plan to write articles about Linux systems programming. I've already written the first two parts, which are more like an introduction: