bash reference sheet

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 cat crying

overall

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 tab and 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 q to quit some scripts

>> this is an append. | this is a pipe

git