George is planning a partition scheme for a new Linux installation. Which THREE directories should he consider for separate partitions? (Select three)
You enter the command date +%M. Wat does the output show you?
What is the output when the following shell script executes?
Cat < Hello foobar foobar
The X program _________ is often used to make minor keyboard adjustments, like proper Back space/Delete mapping.
The _____________ command displays ISA plug-and-play devices resource information.
Which of the following commands will list the quota for the user foobar?
USB fax/modems that conform to this subclass of the Communication Device Class (CDC) vendor neutral standard are Linux compatible (answer is a 3 letter acronym)
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Given the following output: prompt> myapp [1]+ Stopped myapp prompt> Which of the following commands will resume executing the stopped process and make it the current job?
In bash, inserting 2>&1 after a command redirects
When in Normal mode in vi, which command character can be used to begin a reverse search of the text?
You've downloaded an image file of a boot floppy disk to your hard drive. What is the best utility to create a boot floppy from the disk image? (Specify a single command without options.)
Which of the following is a limitation of the cut command?
An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?
________ /dev/sda3 will create a swap area on the device/dev/sda3.
What is the purpose of the Bash built-in export command?
Which of the following commands will produce the following output: USERPID %CPU %MEMVSZ RSS TTY STAT STARTTIME COMMAND root 1255 4.4 0.9 6071634824 tty7 Ss+ 09:25 19:04 /usr/bin/X :0 - root 2016 0.0 0.0 792 560 tty1 Ss+ 09:26 0:00 /sbin/getty -8 matt 5204 0.0 0.1 6320 3696 pts/4 Ss 13:12 0:00 bash matt 5219 0.0 0.0 3988 624 pts/4 S+ 13:12 0:00 man bash matt 5229 0.0 0.0 3584 932 pts/4 S+ 13:12 0:00 pager -s matt 6768 0.0 0.1 10504 3880 pts/2 S+ 15:11 0:00 vi README.txt
Identify the proper device for the third partition on the only SCSI drive on the system.
Typically, which top level system directory is used for files and data that changes regularly while the system is running and are to be kept between reboots? (Specify only the the top level directory) Answer:
In the vi editor, which of the following commands will copy the current line into the vi buffer?
When should grep -F or the fgrep command be used to search the content of text files?
You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?
Which command will display messages from the kernel that were output during the normal bootup sequence? Answer:
Which of the following commands will write a message to the terminals of all logged in users?
After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on running system. Which command will create a complete report which you can analyze for changes which may be security related?
You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would happen if you ran rm foo?
Which chown command will change the ownership to foo and the group to bar on a file named biglist?
In Bash, inserting "1>&2" after a command redirects
You are the system administrator for a consulting firm where several people use Linux as their desktop operating system. One of your users has installed a commercial publishing program that works under X on a variety of UNIX and Linux platforms. The user made a series of configuration changes regarding the initial window size, location and color. Now, he is having difficulty undoing these changes and is asking for your help. In which file would you think you would most likely find the configuration settings you are seeking to change?
What does the following command do? cat '$TEST'
You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?
In order to append the output of ls to a file called bazz, which of the following command lines would you use?
What command will remove duplicate lines from a sorted file?
Which of the following GNU commands would be the most likely command you'd use to find the system load average?
You have an updated RPM called screensaver-1.1.i386. rpm. You have version 1.0 installed. Using RPM, how do you view the changelog of this file to see if you should install the update?
You have a text file with tab-separated values, but your application needs them space-separated. What command would you use from the Bash shell to achieve this? Please fill in the command only, without any options.
Which TWO commands will find the path for the binary vim?
You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drives?
You wish to send the output of a command to standard output (stdout) and save it to a file. The command to use is ______________. (Do not specify arguments)
You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility?
Given the following output:
Prompt > myapp
[1]+ Stopped myapp prompt>
Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?
A . bg myapp
What is the purpose of the bash built-in export command?
To prevent users from being able to fill up the / partition, the _______ directory should be on a separate partition if possible because it is world writeable.