Github, Git and Terminal Flashcards
How do I know where I am in terminal
terminal => pwd
also to Double check if moved in correct folder in Terminal
Double check if moved in correct folder in Terminal
pwd
show all folder in the current folder in terminal
ls (move through with tab)
show all folder in the current folder in terminal (with more detailed information)
ll
what does cd in terminal do
generally: move to another folder
only cd: move back to root directory
Go up/back to parent directory in terminal
cd..
Go up/back to parent directory of parent in terminal
cd…
new folder (directory) in terminal
mkdir name_of_folder
(need to be connected as otherwise 2 folders
prime rule in terminal when starting a project
make a new folder for each project
build a new file in terminal
touch
notarion for the current directory in ruby
.
remove file in terminal
rm foldername (but it will ask you to confirm)
remove file in terminal (shortcut without validation)
rm -rf
open current file in sublime text
stt
re-naimg files in terminal
mv old_name.rb new-
_name.rb