Class 8 Quiz Flashcards

1
Q

What is a startup file?

A

a text file containing Unix commands that are run just before the shell gives you a prompt

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

Where are startup files located?

A

in your home directory

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

If you entered the following at the command line, where would you be?
cd ~

A

your home directory

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

If you entered the following at the command line, where would you be?
cd ~ghoffman

A

in the home directory of ghoffman

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

What does the . (dot) in your current directory mean?

A

your current directory

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

What does the .. (dot dot) in your current directory mean?

A

the parent directory of your current directory

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

What is a path?

A

the list of directories you must go through to get from one directory to another

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

What directory is the starting point for an absolute path?

A

the root directory

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

What directory is the starting point for a relative path?

A

the current directory

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

What character is used to separate directory and filenames in a path?

A

/

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