Command Line Flashcards

1
Q

How do you list all the contents of a directory?

A

The command ls -a

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

What does the pwd command do?

A

Prints the current working directory. This is the name of the directory that you are currently engaging with. This command will print out the location of the directory, e.g. “/home/dev/repos/city-canvas”

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