02. Navigation Flashcards

2
Q

How do you list the directory you are working in.

A

Print Working Direcory (pwd)

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

Howe do you move between directories?

A

Change Directories(cd)

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

How do you list the contents of a direcotry?

A

List (ls)

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

What are absolute paths?

A

An abosolute path begins with the root directory and list all directories between root and the the current working directories. /home/username

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

What is a relative path?

A

A relative path begins with the working directory. The relative path “.” indicates the current directory and “..” indicates the parent or directory above the current directory.

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

How can you change to your previous working directory.

A

“cd -“ This will change to what ever you previeous directory was.

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

How can you quickly navigate to a users home directory?

A

cd ~username. This will take you directly to the home directory of what ever user name you enter.

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