Command Line for Building Websites Flashcards

1
Q

ls

A

lists all files and directories inside of it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

$

A

shell prompt

-it appears when the terminal is ready to accept a command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

pwd

A

print working directory

-outputs the name of the current directory you are working in

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cd

A

change directory

-switches you into the directory that you specify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

cd ..

A

move up one directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

cd ../next-directory

A

move up a directory then moves down to the “next-directory” specified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

cd ../..

A

navigates up two levels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

mkdir

A

makes a directory (folder)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

touch

A

creates a new file inside the working directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

clear

A

used to clear terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

tab

A

you can press tab to autocomplete the command you are typing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

up and down arrow

A

will cycle through your previous commands to most recent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly