Untitled Deck Flashcards

1
Q

Go to root directory

A

cd /

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

Go to child directory

A

cd directory_a

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

Go to home directory

A

‘cd ~’ or simply ‘cd’

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

List directories and files in your wd

A

ls

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

List directories and files or your wd as well including hidden

A

ls -a

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

List the directories and files in your wd with detailed info

A

ls -l

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

List the root directory

A

ls /

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

What’s the command to make a new directory?

A

mkdir

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

What command and option must be used to create directories in a tree structure?

A

mkdir -p {dir1} {dir2} {dir 3}…

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