Git Bash Flashcards
How do you see the current directory?
pwd
How do you change directories?
cd
How do you see every file in the current directory?
ls
How do you clear the terminal?
clear
What does pwd do?
It tells you the current directory.
What does cd do?
It changes directories.
What does ls do?
It shows every file in the current directory.
What does clear do?
It clears the terminal.
How do you see the contents of the home directory?
ls ~
What does ls ~ do?
It shows the contents of the home directory.
How do you go one directory back?
../
How do you list all the files in long format?
ls -l.
What does ls -l do?
It lists all the files in a long format.
How do you see all files in a directory, including hidden ones?
ls -a
What does ls -a do?
It shows all files in the current directory, including hidden ones.