CH7 Flashcards

1
Q

Hidden files are files that begin with what Character?

+
*
-
.

A

.

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

The top-level directory on a Linux system is represented as?

/home
C:
/root
/

A

/

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

Is the following path absolute or relative /etc/ppp?

Absolute
Relative

A

Absolute

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

Which of the following commands can be used to access the home directory of the user “bob” while logged in as root? (Choose Two)

cd &&
cd /home/bob
cd ~bob
~bob

A

cd /home/bob

cd ~bob

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

The CD command by itself will take you to what directory?

None, it is not a valid command.
The system Root directory.
Your Home Directory
The Directory above the current working directory.

A

Your Home Directory

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

What command will allow you to change your current working directory?

list
chdir
ls
cd

A

cd

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

The double dot (..) can be used to represent the directory?

…below the current directory.
…above the current directory.
…with any two single numbers.
…above the current directory only when using the CD command.

A

…above the current directory

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

The LS command without options or arguments?

…prompts for a directory to list
…generates an error as this command requires arguments.
…lists the contents of a user’s home directory.
…lists the contents of the current directory.

A

…lists the contents of the current directory.

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

The first character in a long listing (ls -l) indicates?

The permissions.
The owner
If something is a file, directory, or a symbolic link.
The size

A

If something is a file, directory, or a symbolic link.

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

The LS command color codes results by default?

True
False

A

False

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