UNIX 4

Your page rank:

Total word count: 980
Pages: 4

Calculate the Price

- -
275 words
Looking for Expert Opinion?
Let us have a look at your work and suggest how to improve it!
Get a Consultant

Select the escape sequence that is used for a form feed:

\f

The GUI components and related software take up how much space on a typical Linux installation?

4 GB

Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory?

service

What command below can be used to uninstall the LILO bootloader from an active partition?​

lilo -U

What construct is intended for use in processing a list of objects, such as files, directories, users, printers, and so on?

for

The default BASH shell prompt is set by an environment variable. What command can be used to view this variable

echo $PS1

After modifying the /etc/default/grub file, what command should be run to rebuild the grub config files?

grub-mkconfig

In Linux, what runlevel is also known as the multiuser mode?

2

In order to redirect a file to the standard input of a command, what metacharacter should be used?

<

What is the default target on a system with a GUI installed?

graphical.target

What number represents the stdin file descriptor?

0

The environment variables that are set by default and their current values can be viewed with what command?

set

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?

xvidtune

The standard output and standard error from a terminal screen within the BASH shell can be redirected to a file on the filesystem using what shell metacharacter, followed by the absolute or relative pathname of the file?

>

What operator below is known as the NOT operator?

​!

What number represents the stderr file descriptor?

2

What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?

grubby

What permissions are required to execute a shell script in a manner similar to any other executable program on the system?

read and execute

A list of all exported environment and user-defined variables in a shell can be viewed with what command below?

env

In Fedora 20, where are user configured settings for Xorg stored?​

/etc/X11/xorg.conf.d/

What character combination at the start of a shell script are referred to as a hashpling, and allow for the specification of the shell that interprets the contents of the script?

​#!

What keyword tells the Linux kernel to avoid printing errors to the screen during system startup?​

quiet

Select the test statement that can be used to determine if A is numerically greater than B

[ A -gt B ]

The ability to extract, manipulate, and format text using pattern action statements belongs to which command below

awk

Select the escape sequence that starts a new line when used with echo:

/n

On Linux systems that use the traditional ​UNIX SysV init, what command below can be used to list and modify the runlevels that a daemon is started in?

chkconfig

Select the metacharacter that can be used to send the standard output of one command to another command as standard input:

|

What command can be used to replace characters in a file sent via Standard Input?

tr

In order to change keyboard layout if X Windows can’t detect the layout, you should use what CLI command?

system-config-keyboard

When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts?

systemctl

Under what directory is the Linux kernel stored?

/boot

Which command can be used to count the number lines, words, and characters in a file?

wc

What stage of the GRUB boot loader typically resides on the MBR / GPT?

Stage1

In standard GRUB notation, select the option below that represents the first hard drive in a system, and the first partition on that hard drive.​

​(hd0,0)

What character is used to delimit most Linux configuration files?

colon

What file controls the default runlevel when using Systemd?​

​/etc/systemd/system/default.target

In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel?

image=

At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off?

0

What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?​

grub2-install

What environment file is always executed immediately after login for all users on the system, and sets most environment variables, such as HOME and PATH?

etc/profile

T or F: Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stop daemons after system initialization.

True

T or F: Any command that can be executed on the command line can also be placed inside any environment file.

True

T or F: You can choose to use a window manager only, and not use a desktop manager.

True

T or F: The /etc/rc.d/rc 5 script only executes files that start with S in the /etc/rc.d/rc5.d/ directory.

False

T or F: Most daemon scripts accept the arguments start, stop, and restart.

True

T or F: Fedora 20 makes use of the XFree86 ​implementation of X Windows.

False

T or F: You can use the sed command to remove unwanted lines of text.

True

T or F: You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.

False

T or F: Given the syntax command &amp;&amp; command, the command on the left of the &amp;&amp; construct is executed only if the command on the right of the &amp;&amp; construct completed successfully.

False

T or F: To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three &gt; metacharacters alongside the file descriptor. The

False

Share This
Flashcard

More flashcards like this

NCLEX 10000 Integumentary Disorders

When assessing a client with partial-thickness burns over 60% of the body, which finding should the nurse report immediately? a) ...

Read more

NCLEX 300-NEURO

A client with amyotrophic lateral sclerosis (ALS) tells the nurse, "Sometimes I feel so frustrated. I can’t do anything without ...

Read more

NASM Flashcards

Which of the following is the process of getting oxygen from the environment to the tissues of the body? Diffusion ...

Read more

Unfinished tasks keep piling up?

Let us complete them for you. Quickly and professionally.

Check Price

Successful message
sending