but mainly the ones i know how to use / taken note of. take in mind that i use git bash for windows so some stuff might be different for you. i'm new to all this so i've explained some things from how i understand them. feel free to e-mail me if i got something wrong 
overall
clear- clears the terminal screen.touch [filename]- creates a file.cd [dirname]- moves where you are.cd -gets you to the directory you were previously at.mkdir [dirname]- makes a directory / folder.exit- exit terminal.history- gives you a history of your inputs.help- more info.start [filename]- opens a file.mv [1] [2]- for renaming / moving filespwd- shows you where you currently arewhich [programname]- tells you the location path the terminal is using to locate the program.ls- lists files of the directory you're currently in.ls -lfor a more detailed listing.ls -ato show hidden files.ls --helphelp!!!rm- remove a file.echo- outputs whatever you give it.cat [filename]- outputs the contents of that file in the terminalcp [filename1] [newfile]- copies a files. you can also achieve the same withcat <[filename1]> [newfile]find -name '*[search]*'- searches for files with that word.sudo- run things as a superusernotepad [filename]- opens file on notepadrm -rf .git- deletes the .git folder
notes
- you can use logical operators like
&&(AND) and||(OR). not really sure in what case i would use OR, but i use AND frequently for executing multiple commands at once. - you can hit
taband the terminal will (try to) autocomplete where ever directory or file you want to go. - when typing a file that has an ! you need to escape it using the backslash. if i have a folder called !g/ then you would write
\!g/on the terminal. - files with spaces need to be closed with single or double quotes like this
'folder 1' - use
qto quit some scripts >>this is an append.|this is a pipe- under
~/.profileyou can set up variables for paths you frequently use.img of my .profile, you can use them in the terminal as variables using this$symbol. example:cd $DOQMEAT
git
git help- help for git commands.git init- initializes a repogit status- list changesgit restore [filename]- restores a filegit add [files] [dirs]- things to stage for agit commit. you can also usegit add -pand it will ask you to yes or no every change before adding it. you can also dogit add .to add all changes made to that current directory.git commit -m "[your message here!]"- commits changes while also adding a message to them.git push- pushes the code out there.git fetch- fetches code.git pull- pulls code for any changes.git diff --stat --cached [remote/branch]- shows you commits that are about to be pushed. remote/branch is usuallyorigin/mainfor me.git show- show changes madegit log- previous commits