OS X Flashcards
where is .bash_profile?
in my home directory
add a comment to .bash_profile
like this
add an alias to .bash_profile
alias trs=”cd /code/trustroots”
create file with specific input in terminal
echo “«input»” > «filename»
create empty file in terminal
touch _«file path»/«filename»
move element to another folder in terminal
mv «element» «relative path to target folder»/
download a file to current repository in terminal
wget «file url»
or condition in regex
/(2019«|»2020)/
end of string in regex
/.jpg«$»/
print current directory path in terminal
pwd
force quit on mac
⌥ ⌘ ESC
autocomplete in terminal
↹
create new folder in terminal
mkdir _«folder path»/«folder name»
copy element to another folder in terminal
cp «element» «relative path to target folder»
delete a file in terminal
rm «file»