Command Line for Building Websites Flashcards
1
Q
ls
A
lists all files and directories inside of it
2
Q
$
A
shell prompt
-it appears when the terminal is ready to accept a command
3
Q
pwd
A
print working directory
-outputs the name of the current directory you are working in
4
Q
cd
A
change directory
-switches you into the directory that you specify
5
Q
cd ..
A
move up one directory
6
Q
cd ../next-directory
A
move up a directory then moves down to the “next-directory” specified
7
Q
cd ../..
A
navigates up two levels
8
Q
mkdir
A
makes a directory (folder)
9
Q
touch
A
creates a new file inside the working directory
10
Q
clear
A
used to clear terminal
11
Q
tab
A
you can press tab to autocomplete the command you are typing
12
Q
up and down arrow
A
will cycle through your previous commands to most recent