👩🏽💻 Linux shell implemented in C!
My goal is to make a fully functional and easy to use linux shell implemented in C which lets you use basic linux commands implemented in C. (This is a CS assignment)
- Make sure to be running linux in a vm or on your local machine
- Have basic understaning in C
-
Fork and clone this repo
-
Run:
gcc shell.c -o run
📌 Write data to file
date u > file
📌 Append data to file
date >> file
📌 Word count from file
wc -l < file
📌 Change prompt
prompt = ${YourPrompt}
📌 Redo last command
!!
📌 Get status of last command
echo $?
📌 Contains most basic linux commands built in
cat
,ls
and ect'
📌 Ctrl-C signal handler
📌 Ability to exit shell
quit
Lots more coming soon...
Feel free to Fork and add more feautures
- For help or questions - Get in touch - Website