Navigation Flashcards

1
Q

what does command pwd do?

A

Prints names of current working directory.

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

what does command cd do?

A

Changes Directory

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

what does command ls do?

A

Lists directory contents

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

How do windows and Linux organize their files and what does it look like?

A

Heirarchical directory structure. A tree like pattern of directories.

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

What is the directory we are standing in called?

A

Current Working Directory

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

What directory do you start in when you first login?

A

Home Directory

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

Describe how an Absolute Pathname works?

A

It begins with the root directory and follows the tree branch by branch until the the path to the desired directory or file is completed.

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

How do relative pathnames work?

A

They start from the working directory and not the root directory.

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

what does the . (dot) notation refer to ?

A

Working Directory

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

what does the .. notation refer to

A

The working directory’s parent directory

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

What does the Shortcut cd do?

A

Changes the working directory to your home directory

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

what does the shortcut cd - do?

A

Changes the working directory to the precious working directory.

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

What does the shortcut cd ~user_name do?

A

Changes the working directory to the home directory of that user_name.

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

What does the shortcut cd ~user_name do?

A

Changes the working directory to the home directory of that user_name.

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

What does it mean if there is a period in front of a filename?

A

That the file is hidden

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

If a file is hidden what does that mean?

A

You cannot ls (list) the file unless you say ls -a.

16
Q

What are case sensitive in Linux?

A

Filenames and commands. I.e. File1 and file1 refer to different files.

17
Q

What should you not use in filenames/directory names?

A

Spaces