Linux Test 4 10,11 Flashcards

1
Q

If you want to enable a printer, you must specify the printer name to the cupsenable command.

A

t

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

CUPS contains versions of the lpr, lpc, lpq, and lprm commands

A

t

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

Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system

A

f

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

On most Linux systems, the logrotate utility is automatically scheduled to run weekly.

A

f

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

A user can only be a member of one group

A

f

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

Sending print jobs from a print queue to a printer is commonly called printing.

A

t

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

In the CUPS printing system, the lpr command is used to print documents to the print queue

A

f

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

The file that contains the configuration information for each printer installed on the system is /etc/cups/cupsd.conf.

A

f

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

To clear a log file, you can use a(n) < redirection symbol.

A

f

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

The /etc/login.defs file contains parameters that set the default location for e-mail, password expiration information, minimum password length, range of UIDs and GIDs available for use.

A

t

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

To send a print job to a printer, you must first use the ____ command and specify what to print

A

lp

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

To see a list of all printers on the system and their status, you can use the -t option to the ____ command.

A

lpstat

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

The lp command uses the ____ option to specify the destination printer name.

A

-d

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

By default, all print jobs have a priority of ____.

A

50

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

The ____ option to the lpstat command causes a list of printers that are enabled to be displayed.

A

-p

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

You can restrict who can print to certain printers by using the ____ command.

A

lpadmin

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

Log files are typically stored in the ____ directory.

A

/var/log

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

The ____ log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd.

A

secure

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

Any line that starts with a(n) ____ character is a comment in the /etc/rsyslog.conf file.

A

#

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

The ____ priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database

A

alert

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

To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run the ____ command

A

pwconv

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

You can create user accounts on the Linux system by using the ____ command.

A

useradd

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

The skeleton directory on most Linux systems is ____.

A

/etc/skel

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

To lock an account, you can use the usermod command with the ____ option.

A

-L

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

You can specify the ____ option to the userdel command to remove the home directory for the user and all of its contents.

A

-r

26
Q

To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use the ____ command.

A

newgrp

27
Q

Can each user on a Linux system specify his or her own default printer?

A

yes

28
Q

Can the lp command accept information from Standard Input?

A

yes

29
Q

Did older Linux systems store encrypted passwords in the /etc/shadow file?

A

no

30
Q

Can a user account be used to log in to the system before its password is set?

A

no

31
Q

Can the usermod command be used to modify the password expiration information stored in /etc/shadow?

A

no

32
Q

The compress utility preserves the original ownership, modification, and access time for each file that it compresses.

A

t

33
Q

When using the gzip utility, the -1 option is also known as best compression and results in a higher compression ratio.

A

f

34
Q

When creating a system backup, temporary files in the /tmp and /var/tmp directories should be included.

A

f

35
Q

The tar utility cannot back up device files or files with filenames longer than 255 characters.

A

t

36
Q

It is good form to read the Makefile after you run the configure script.

A

t

37
Q

If a compression utility compresses a file to 52% of its original size, it has a compression ratio of 52%.

A

f

38
Q

To decompress files that have been compressed with the compress utility, you can use the decompress command followed by the names of the files to be decompressed.

A

f

39
Q

Traditionally, CDs/DVDs were used to back up data.

A

f

40
Q

Because its primary use is to back up files in case of system failure, cpio uses absolute pathnames by default when archiving.

A

t

41
Q

The dump/restore utility can only work with files on ext2 and ext3 filesystems.

A

t

42
Q

The compression algorithm used by the compress utility has an average compression ratio of ____%.

A

40-50

43
Q

When using the compress utility, each file is renamed with a(n) ____ filename extension to indicate that it is compressed.

A

.Z

44
Q

The ____ command can be used to display the contents of a compressed file.

A

zcat

45
Q

The average compression ratio for gzip is ____%.

A

60-70

46
Q

When used with the compress command, the ____ option can be used to compress symbolic links.

A

-f

47
Q

When used with the uncompress command, the ____ option displays the contents of the compressed file to Standard Output.

A

-c

48
Q

If no level of compression is specified, the gzip command assumes the number ____.

A

6

49
Q

The ____ option, when used with the gzip command, causes the compression ratio for files that have been compressed to be listed.

A

-l

50
Q

The filename extension given to files compressed with bzip2 is ____.

A

.bz2

51
Q

When used with the tar utility, the ____ option causes filenames to be stored in an archive using absolute pathnames.

A

-P, but shows -p on test

52
Q

The ____ option can be used with the tar command to extract a specified archive.

A

-x

53
Q

When using the cpio utility, the ____ option causes a new archive to be created.

A

-o

54
Q

You can perform up to ____ different incremental backups using the dump/restore utility.

A

nine

55
Q

Most Linux distributions today use ____ as their package manager.

A

RPM

56
Q

The ____ command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture.

A

make

57
Q

To remove a package from the system, you can use the ____ option to the rpm command.

A

-e

58
Q

Can the contents of a compressed file be viewed page-by-page?

A

yes

59
Q

Can symbolic links be compressed by the gzip utility?

A

yes

60
Q

Can the bzip2 utility be used to compress a directory full of files?

A

no

61
Q

Does the tar utility compress files inside an archive?

A

no

62
Q

Can you write files to CD and DVD media using the tar, cpio, or dump utilities?

A

no