User Joseph has successfully extracted and compiled a program from source code. Installing the binaries produces errors. What is the most likely reason?
In GRUB's configuration file you find the line
Root (hd1,4)
What is corresponding device name on a Linux system?
Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?
Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?
Which of the following commands will load a kernel module along with any required dependency modules?
In the command foo < bar | foobar, which ONE of the following statements is correct?
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?
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:
Which of the following commands will print the amount of disk space used by files specified on the command line?
Identify the proper device for the third partition on the only SCSI drive on the system.
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the directories on that path exists. What command will create all of the needed directories in one step?
Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)
What is the output when the following shell script executes?
Cat < Hello foobar foobar
George is planning a partition scheme for a new Linux installation. Which THREE directories should he consider for separate partitions? (Select three)
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of following signal codes?
What is the difference between the --remove and the--purge action with the dpkg command?
In a networked environment, what command will grant anybody permission to display their X applications on a desktop? (Include both the command and argument(s).)
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." Which command will remove the directory?
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time. Answer:
The system is having trouble and the engineer wants to bypass the usual /sbin/init startup and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?
Which command will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
After modifying LILO's configuration file, what command should you run for the changes to take effect?
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.)
What command will print the shared libraries for the file /usr/lib/libpng12.so? (Provide the full command with library name but without any other options or parameters)
You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?
You wish to execute two commands, one after the other. However, you only want the second command to execute if the first is successful. Which character(s) do you put between the commands on the command line to accomplish this?
You are about to install a new program on an RPM based Linux system. Which of the following would be the best way to accomplish this?
You installed a beta rpm package, but are experiencing some problems with it. How can you remove this package?
What command would help you identify the I/O address range being used by the network card?
What is the proper option to put in /etc/fstab to enable group quotas for a particular parition?
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option will need to be added to the corresponding line in /etc/fstab?
What umask will set the file permissions on a newly created file to -rw-r--r-- (644)?