Skip to content

Arin-Grigoras/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shell

a shell written in C.

CREDITS = https://github.com/brenns10/lsh/blob/master/src/main.c

-for most of the template code.

This project has a 10% chance that it will be worked on by me(you can contribute as much as you want because I think this is a great learning opportunity for someone learning C like me. Btw I'll read over everyone of y'all code) but I won't contribute anymore to this piece of code just because I have more important things to do. Sorry :)

Instructions

cd. changes directory
help. tells the user all of the commands
cls. clearscreen command
dog. it's supposed to be a cat recreation
frem. removes a file
fmk. makes a file
copy. copies the contents of a file in another file
hostnm. tells the hostname
path. tells the directories you are currently in
hd. prints out the first line of a text file
time. prints out the current time and date
history. tells the history of the commands
clearhis. clears the history of commands

Website

I am not going to make one unfortunately.

License

This code is Unlicensed which means you can contribute, sell or use it wherever you want(Suggestions are welcome).