Ch 6 Linux Filesystem Quiz Flashcards

1
Q

You are at the Linux shell and you want to make a new directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

mkdir

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

Select ALL items that are TRUE related to Linux shared library files.

a) /lib contains shared libraries in 32-bit format.
b) Linux shared libraries are similar to DLLs (Dynamic Link Libraries) used in Windows
c) /lib64 contains shared libraries in 64-bit format.
d) Shared libraries are similar to EXEs (executable files) used in Windows.

A

a) /lib contains shared libraries in 32-bit format.
b) Linux shared libraries are similar to DLLs (Dynamic Link Libraries) used in Windows
c) /lib64 contains shared libraries in 64-bit format.

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

/var holds variable length files.

True
False

A

True

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

You are at the Linux shell and you want to display the manual page to see documentation about a given command. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

man

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

Select ALL items that are TRUE releated to the Linux Filesystem.

a) The /bin directory contains often used binary executable files.
b) Linux uses a hierarchical filesystem is in the shape of a tree.
c) The root of the filesystem is /.
d) At every node in the tree is either a (1) file or a (2) directory.

A

a) The /bin directory contains often used binary executable files.
b) Linux uses a hierarchical filesystem is in the shape of a tree.
c) The root of the filesystem is /.
d) At every node in the tree is either a (1) file or a (2) directory.

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

Select ALL items below that are TRUE related to Linux Filenames.

a) Filenames are CASE SENSITIVE
b) Filenames can be up to 64 characters long.
c) Filenames can be up to 255 characters long.
d) Filenames are NOT CASE SENSITIVE

A

a) Filenames are CASE SENSITIVE

c) Filenames can be up to 255 characters long.

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

You are at the Linux shell and you want to copy a directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

cp

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

You are at the Linux shell and you want to change to another directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

cd

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

Enter the absolute pathname for the directory where temporarly files are stored. For example, if the answer is /answer, then enter /answer.

A

/tmp

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

Select ALL items that are TRUE related to /proc.

a) /proc files are statically generated once by the kernel at boot-up.
b) /proc contains live system info as reported by the kernel.
c) /proc contains special configuration files
d) /proc looks like files and act like files, but the contents are dynamically generated when accessed.

A

b) /proc contains live system info as reported by the kernel.
d) /proc looks like files and act like files, but the contents are dynamically generated when accessed.

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

Select the home directory for the root user.

a) Answer not given.
b) /home/root
c) /root
d) /

A

c) /root

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

From the Linux shell, you want to recursively copy a directory named source-dir to destination named dest-dir. Select the command.

a) cp source-dir dest-dir
b) cp -r source-dir dest-dir
c) cp dest-dir source-dir
d) cp -r dest-dir source-dir

A

b) cp -r source-dir dest-dir

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

Enter the absolute pahtname of the directory that contains essential binary commands that are always available. For example, if the answer was /answer then you should enter /answer for your answer.

A

/bin

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

The /home contains a directory for each username on the system.
True
False

A

True

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

Enter the absolute pahtname of the directory that contains files used by the boot loader. For example, if the answer was /answer then you should enter /answer for your answer.

A

/boot

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

Select ALL items that are TRUE related to /dev.

a) /dev holds device special files/
b) Files under /dev look like files and act like files, but are actually I/O devices.
c) /dev holds configuration files
d) Files under /dev are special configuration files.

A

a) /dev holds device special files/

b) Files under /dev look like files and act like files, but are actually I/O devices.

17
Q

Enter the absolute plathname for the directory that contains configuration files. For exampl, if the answer was /answer, then enter /answer.

A

/etc

18
Q

Linux does not enforce filename extensions, but you can use them if you want to.

True
False

A

True

19
Q

A Linux Panic is a kernel crash.

True
False

A

True

20
Q

You are at the Linux shell and you want to remove a directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

rmdir

21
Q

You are at the Linux shell and you want to display your current working directory. Enter the EXACT command you would type.

A

pwd

22
Q

Looking at files in /var/log is a good way to troubleshoot system issues.

True
False

A

True

23
Q

/sbin contains system binaries that are for use by everyone on the system and do not require root permission.

True
False

A

False

24
Q

Select ALL items that are TRUE related to Linux Hidden files.

a) Files that begin with a “.” are hidden files.
b) To view hidden files, use “ls -l”.
c) Files that begin with a “?” are hidden files.
d) To view hidden files, use “ls -a”.

A

a) Files that begin with a “.” are hidden files.

d) To view hidden files, use “ls -a”.

25
Q

You are at the Linux shell and you want to rename directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)

A

mv