linux+ test questions

Ace your homework & exams now with Quizwiz!

default display manager for X11?

xdm

what key would you press to access command line during installation?

Alt+f2

which command is used to convert all non debian packages into debian format?

alien

what utility lets you take advantage of metacharacters and allows bash to recognize regular expression characters in command line?

globbing

what is the purpose of yum clean?

it eliminates all cached packages and headers

how to enable clobbering?

set -o noclobber

are files executed or sourced during the user's login?

sourced

what program handles on screen keyboard?

GOK - gnome onscreen keyboard

prior to using the locate command to find a file, you decide to manually refresh the index of files in your linux file system. what cmd do you use?

updatedb

w/ MTA, aliases won't work until you run what command?

newaliases

prior to using the locate command to find a file, you decide to manually refresh the index of files in your linux file system. which shell command will do this?

updatedb

what command would allow you to make changes to parameters for a configured GRUB menu choice, before booting the system?

e (edit)

which command can be used to monitor a file and display each new message on the screen as they are added?

less -f /var/log/messages

what utility with lpd used to remote jobs to printer?

lpr

Which of the following commands prints five copies of the file io.ps?

lpr -# 5 io.ps

what cmd lets you modify cron jobs for a specific user?

crontab -e

how can you use x86 computer's firmware setup utility to work around IRQ and similar hardware conflicts?

- you can change the algorithm the firmware uses to assign IRQs to PCI devices - you can disable unused onboard devices

when removing a user w/ userdel, what option would allow you to also remove that user's home dir

-r

config file for X11

/etc/X11/xorg.conf

which /etc file is globally accessible? /etc/passwd or /etc/shadow

/etc/passwd

which manual section contains man pages for administrative utilities used by the root user?

8

if you have multiple Xservers instances on your system, how are they identified?

:0 - 1st instance :1 - 2nd instance

which file system does not use journaling

Ext2

which file system does not use journaling?

Ext2

Which env variable determines the primary prompt that is presented at the bash command line?

PS1

which bash shell env variable is used to configure the characters displayed in the shell prompt

PS1

Assuming you want to use POSIX users and permissions, which file systems can you select from during the installation of a linux file system?

ReiserFS, Ext

what daemons must be included in an web-enabled database application that employees will use to manage their vacation and sick leave time?

apache and mySQL

After updating your list of remote debian repository files, you should run what cmd?

apt-get update

what command lets you view current at jobs?

atq

what command lets you remove at jobs?

atrm

what does ! mean in /etc/shadow?

disables an account; do not allow this account to have a password to able to login because their is no shell associated with it.

allows you to start or prepare a desktop environment for your users and hand your user login

display manager

which command would be used to replace the TAB characters of a file with SPACE characters

expand -t 1 data.txt > data.txt

when installing a linux system, which directory must you create a separate disk partition for?

/

text-to-speech utility for those who are visually or hearing impaired?

orca

what feature allows you hit multiple buttons to form a key combination without having to hold down multiple keys

sticky keys

the first stage of the boot manager is typically stored where?

the master boot record

true or false? /sbin is not typically placed on it's own partition

true

true or false? The newfile, mkfile, and fedit shell commands don't exist on Linux

true

what allow you to permit or deny host to remote into your environment?

xhost

this command shows you color depth in your gui environment, not text based environment?

xwininfo

which file allows you redirect email to multiple recipients, whoever is listed?

~/.forward

to go from gui to virtual terminal 3, which keystroke combination would you use?

ctrl+alt+f3

which option to the mkdir and rmdir commands allow you to create a nested subdirectory tree

-P

why would you want to use shadow passwords

This system improves password security by using better encryption and blocking direct user access to the password file

what command lists all partially installed debian packages on the linux os and suggest what to do to get them working correctly?

dpkg -C

what command is used to remove the prog package along with it's configuration files? (debian)

dpkg -P prog

this directory contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd program

/etc/skel/

what directory in linux file system is actaully a psuedo-file system that is dynamically created whenever it's accessed

/proc

how would you delete the table called deleteme from a SQL database?

DROP TABLE deleteme;

What partition type refers to the linux extended partition?

85

which metacharacter can be used to find a non-word character?

\W

what does a * mean in /etc/shadow?

account has no password set

why is open mail relay configuration a bad idea?

because spammers can abuse it to send spam

which utilities can be used to view the contents of a text file from the shell prompt

cat, head, less, more, tail

which commands allow you to modify set password expiration?

chage and passwd

which command will list partitions existing on local harddrive

fdisk -l

what cmd gets entries from administrative databases?

getent

which component in the linux boot process is a small ramdisk in memory to which a temporary root file system is copied

initrd image

which component in the linux boot process is a small ramdisk in memory to which a temporary root file system is copied?

initrd image

which command is used to automate the making and breaking of symbolic links

insserv

what is the syntax of entries in /etc/hosts file?

ip address, then FQDN, then short hostname (if applicable)

what command simulates a shutdown event on the system, but not actually take the system down

shutdown -k

true or false? a colon should be utilized at the end of an FQDN when using scp.

true

true or false? when creating groups, a user can only have one primary group.

true

what mistake has the potential to physically damage an older monitor

using a horizontal or vertical refresh rate thats too high

what are the two ways to create a function?

utilize function utility or subnums w/ () {

Which file system would you use if both linux and windows os have to access partitions on it?

vfat

what cmd allows you to edit /etc/group

vigr

what cmd allows you to edit /etc/passwd file

vipw -s

Your ~/.bashrc file contains the line alias logout='ls'. What will happen when you type logout , assuming ~/.bashrc is executed and you ve logged in at a text-mode console?

you'll see a directory listing

this prevents you from overwriting any files utilizing the > redirection

noclobber


Related study sets

MANAGEMENT OF PATIENTS WITH CEREBROVASCULAR DISORDERS

View Set