exam 1234

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

which of the following represent the root directory? /home / /root /boot

/

which of the following directories should be on separate partitions? (Select two.) /lib / bin / home /var

/ home /opt /var

which of the following directories must remain on the same partition? (Select three.) /usr / home /etc / bin /lib

/etc / bin /sbin /lib /dev /proc

All users at your site are using the Bash shell. You want to set a variable that will apply to every user and always have the same value. which file would you place this variable in? .bash_profile .bash_|ogin .bashrc /etc/ profile

/etc/ profile

which of these configuration files define the default runlevel of your system? /etc/modules.conf /etc/crontab /etc/inittab /etc/fstab

/etc/inittab

You have a computer with two Linux operating systems installed: Fedora and Red Hat Linux. When the computer boots, you need to display the GRUB menu. This will allow you to select which operating system should load during bootup. You also need to configure which operating system should load by default if a selection is not made during bootup. Your task in this lab is to: Open/boot/grub/grub.conf in vim and make the following changes: - Choose Red Hat Linux as the default operating system Display the GRUB menu for 9 seconds before selecting the default operating system. - Configure GRUB to display the available operating systems during bootup. 0 Save your changes.

1. Vi /boot/grub/grub.conf 2. Change 0 to 1 3. Change 5 to 9 4. Put # before hiddenmenu 5. Esc 6. :wq

You have just added a custom script to change and export the SHELL environmental variable as the C-shell. However, you decided to change from the C-shell to tsch. Your task in this lab is to: - Open/etc/pref_shell in vim. - Modify the environmental variable line SHELL=/bin/csh to read SHELL: / bin/tcsh. 0 Save your changes.

1. Vi /etc/pref_shell 2. Insert 3. Change csh to tcsh 4. esc 5. :wq Type vi /etc/pref_shell to open the file. Press a to edit the file. Move the cursor to the line SHELL=/bin/csh and insert a t to make the line read SHELL=/bin/tcsh. Press the Esc key. Type :wq to save the changes and exit.

What is the correct order for the boot phases of a Linux computer? Init' BIOS OS Kernel Boot loader

BIOS BOOTLLOADER OS Kernel Init

You are installing a boot loader on a system that will boot both Linux and Windows. You are going to use the GRUB boot loader for Linux. Where is the best location for GRUB? Pick the most correct answer. on a floppy disk. You can't use GRUB in a Windows/Linux environment. on the boot sector of the Linux partition. on the MBR of the first fixed disk.

GRUB should be installed on the boot sector of the Linux partition.

which of the following items is a free, open source scriptable screen reader which works with the GNOME desktop? GOK Orca Emacspeak Gedit

Orca

What is the purpose of the find command? Display the path to the binary files, the manual pages, and the source code. Display the path to a command and determine whether a package is installed. Search an index file for specific parameters. Search for files in the file system based on name, file size, time created, and other options.

Search for files in the file system based on name, file size, time created, and other options.

The power has gone out in your facility. You have a UPS (uninterruptible power source) that protects your system and provides enough power to allow you to shut down safely. Your task in this lab is to shut down the system immediately using the command line.

Shutdown -h now Halt Init 0

You have made a few changes to the X server configuration file and you need to implement the changes by restarting the X server. which of the following actions will not restart the X sewer? Restart the computer Log out and in Press Ctrl-Alt-Backspace Use the startx command

Use the startx command

You are installing Linux on a new system. When you setup the X server, what do you need to know about the video card for a successful configuration? Monitor resolution Video card processor speed Video RAM Video chipset

Video chipset

which of the following display managers use the same configuration file? GDM and KDM Each display manager uses an exclusive configuration file. XDM and KDM XDM and GDM

XDM and KDM

You have a user which has difficulty typing. She is constantly pressing keys multiple times by accident. Which keyboard accessibility option should you enable? sticky keys toggle keys mouse keys bounce keys

bounce keys

View the contents of the /root/.bash_profile file. What is the last word in the file? PATH

cat /root/.bash_profile

You need to view detailed infonnation for the hr directory in the root (/) directory and answer the following questions? (Type the information exactly as it is shown on the screen.) What is the directory size? 12586 What is the modified date? Mar 15 2009

cd /hr ls -al

which command would you use to add the ldap service to runlevels 3 and 4? O init -I +34 ldap O chkconfig -level 34 ldap on O init -I 34 Idap on O chkconfig -on 34 Idap

chkconfig --level 34 ldap on

You are experiencing a problem with a network server. You want to bring the system down and try reseating the cards within it before restarting it. Which command completely shuts down the system in an orderiy manner? init 0 init 1 init 5 init 6

init 0

You need to perform some system maintenance, and want to prevent users from logging on while you do so. Which command should you run? init o init 1 init 6 init 7

init 1

According to the command help, which switch can you use with the killall command to kill a process group instead of just a process? -g -0 -v -w

killall -h -g

? Question 1 of 30 You have a user who has difficulty using the mouse. which keyboard accessibility option should you enable? 0 mouse keys O sticky keys O toggle keys O bounce keys

mouse keys

You are trying to debug a shell script called myscript and to aid you in this task you would like to have the output of the script be recorded in a text file. which of the following commands would satisfy your requirements? 1. myscript | testfile.txt 2.myscript >>testfile.txt 3.myscript | echo | testfile.txt 4.echo myscript >> testfile.txt

myscript >>testfile.txt

You've come in after hours to perform system maintenance. However, you don't want others who may be working late to log in to the system either remotely or locally. Your task in this lab is to set the system to a runlevel that allows you to perform your tasks but prevents others from logging in to the system.

runlevel init 1

Of the services listed below, which service is stopped? atd bttrack pcscd rpdaind

service --status-all | more

View the curnenfly set environment variables to find the values below. HOME---root LANG--en_US.UTF-8 SHELL---/bin/bash TERM---linux

set | more = view a list variables

Peter Lacy (placy) has taken an extended leave from the company for personal reasons. However, he was working on a critical project code named White Horse with several other employees. The project leader requested that you move any White Horse documents in Peter Lacy's home directory to the home directory of Brenda Cassini (bcassini). You are logged on as wadams. ------Your task in this lab is to: 1. Switch to the root user, using 1worm4b8 for the root user password. (You must have root user permissions to move other people's files. 2.Move the following files in placy's home directory to bcassini's home directory. --confid_wh --projplan_wh Note: When you are finished, use the ls command to verify the new location of the files.

su - 1worm4b8 mv /home/placy/confid_wh /home/bcassni mv /home/placy/projplan_wh /home/bcassini ls -l /home/bcassini


Ensembles d'études connexes

NSG 334: Chapter 33: Caring for Children in Diverse Settings

View Set

Unit 4: Job, Psalms, Proverbs and Song of Solomon - Study Guide

View Set

vocabulary cartoons unit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

View Set

Evolve Cardiovascular System, Blood, and Lymphatic Systems

View Set

K-6 Subject Area Exam Practice Questions

View Set

Testing, Intelligence, and Individual Differences

View Set

Medication, IV, and Administration

View Set