Question 1: You detect a Compaq USB controler in your computer. Which USB module would you load to use this controler?
 usb-intel
 usb-ohci
 usb-uhci
 usb-via
 usb-compaq
Question 2: Which command would display the list of all running background-jobs?
 job
 joblist
 jobs
 list -bg
 joblist --background
Question 3: What command sends signals to processes (just the command - no options)?
Question 4: The user bertha has marked an important line of one of her textfiles with an asterix (*). But now she forgot the name of the file. How could you find this file, assuming it is located in berthas home directory?
 grep --key=asterix /home/bertha/*
 grep "/*" /home/bertha/*
 grep * /home/bertha/*
 grep 0x2A /home/bertha/*
 grep \* /home/bertha/*
Question 5: How could you get the information, how many kilobytes are used by the directory /home/foo including all subdirectories?
 ls -laR /home/foo
 cb --kilobyte --recursive /home/foo
 du -s /home/foo
 dirsize /home/foo
 free --used_space /home/foo
Question 6: You want to enable all of your users to use about 20 megabyte of diskspace in their home-directories and about 5 megabyte in /tmp. What action concerning the partitioning is necessary?
 Every partition with userquotas have to have the file quota.user on their root
 Every partition with userquotas need the entry usrquota in the options-field in /etc/fstab
 One partition for /home is enough. You can symlink /tmp to /home later
 Use qfdisk instead of fdisk to create disk-quota partitions
 /home and /tmp each have to be on a own partition
Question 7: What is the meaning of the sticky bit applied to a directory?
 Everybody may read the content of the directory
 Any user may remove files inside this directory, even if he is not the owner of the file to remove.
 A user with write permission in this directory may not remove any file inside the directory if he is not the owner of the file to remove.
 A user with write permission in this directory may not create any file there.
 Nothing. The sticky bit is only used for regular files.
Question 8: How could you change the group membership of the file foobar to group foo?
 chown foo foobar
 chgrp foobar foo
 chperm --group foo --file foobar
 chgroup foo foobar
 chgrp foo foobar
Question 9: Enter the commant to create a link. (Just the command, no options)
Question 10: What would the following command search for? find . -size 25k
 All files inside the current directory, which are bigger than 25 KBytes
 All files inside the current directory and all included subdirectories, which are bigger than 25 KBytes
 All files inside the current directory, which are smaller than 25 KBytes
 All files inside the current directory and all included subdirectories, which are smaller than 25 KBytes
 All files inside the current directory and all included subdirectories, which are exactly 25 KBytes big
Question 11: In what section of your XF86Config file would you enter the directive to use a particular font server?
 Section "Screen"
 Section "ServerFlags"
 Section "InputDevice"
 Section "Files"
 Section "Module"
Question 12: Which of the following directories have to be placed on the root partition?
 /sbin
 /dev
 /boot
 /usr
 /lib
Question 13: Enter the full path of the LILO configuration file
Question 14: After unpacking the sourcecode of a GNU software package, you want to compile and install it on your system. Which of the following lines could be used?
 ./configure;make;make install
 configure;make;make install
 make configure; make all; make install
 ./configure;make; install
 make config;make;make install
Question 15: You want to deinstall a deb packet foobar from your system. What would be a proper command?
 apt-get remove foobar
 remove foobar.deb
 remove foobar
 dpkg -r foobar
 dselect foobar
Question 16: What command would you use to get a list of all installed files coming from a debian packet named foobar?
 dpkg -q --allfiles foobar
 dpkg -qL foobar
 dpkg -ql foobar
 dpkg -l foobar
 dpkg -L foobar
Question 17: How could you describe the following commandline? foo && bar
 The command foo is started in the background, the command bar is started in the foreground.
 The command foo and the command bar are started simultaneously.
 This isn't a valid commandline
 The command bar is only processed if the command foo leaves with an error.
 The command bar is only processed if the command foo leaves without error.
Question 18: How could you get the number of all accounts on your system, including administrative and system accounts?
 userinfo -n
 userinfo --get_num
 numusers -r
 wc -l /etc/passwd
 count --lines /etc/passwd
Question 19: In which file will you find a listing of all used IO-Ports of your computer?
Question 20: Which command is NOT usable to install debian packages?
 dinst
 dselect
 apt-get
 dpkg
Question 21: How could you describe the following commandline? foo > bar 2>&1
 The command foo writes its STDOUT and STDERR into the file bar.
 This isn't a valid commandline.
 The command foo writes its output into the file bar and into the file 2.
 The command foo redirects its output to the command bar and bar redirects its input back to foo.
 The command bar is only processed if the command foo returns a status of 1 or 2.
Question 22: What would the following command result in? cp $(find . -size -12k) /tmp
 All files in the current directory which are smaller than 12 KByte will be copied to /tmp
 This isn't a valid command
 The file with the name stored in the variable "find . -size -12k" will be copied to /tmp
 All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp.
 All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp. The directorie structure will be copied, too.
Question 23: How could you watch the contents of a logfile, even if the logfile is growing while you're watching?
 less -f logfile
 watch logfile
 head -f logfile
 more -f logfile
 tail -f logfile
Question 24: What command is used to connect lines of different textfiles to one line, using common fields to determine which lines fit together (just the command - no options)?
Question 25: You have to move the whole directory-tree /home/foo to /oldusers. What command would you use?
 cp --move /home/foo /oldusers
 move /home/foo /oldusers
 mv -R /home/foo /oldusers
 mv /home/foo /oldusers
 mv -r /home/foo /oldusers
Question 26: What is the effect of the following command? fg 4
 This isn't a valid Linux-command
 The name of the group with the groupID 4 is displayed
 The foregroundcolor is changed to color 4
 The process with the PID 4 is fetched into the foreground
 The job with the JobID 4 is fetched into the foreground
Question 27: What command offers you an ongoing look at processor activity in real time (just the command - no options)?
Question 28: Which statements concerning the tool renice are true?
 root can change the nice-values of all processes of one user with a single command.
 Once a nice value is increased, a normal user may not decrease it, even if it is his own process.
 A normal user can decrease the nice value of his own processes.
 A normal user may only change the nice values of his own processes.
 renice allows a normal user to fasten his processes.
Question 29: How can you detect, which PCI devices are connected to your computer?
 Using the readpci command
 Using the lspci command
 Using the file /proc/pci
 Using the pci_info command
 Using the getpci command
Question 30: Which of the following tools could be used to search a textfile for a particular searchstring without opening it with an interactive editor?
 ed
 find
 sed
 grep
 vi
Question 31: What command would you use to copy all files inside the current directory which names begin with a number to /tmp
 cp [0-9] /tmp
 cp [0-9]* /tmp
 cp [0-9].* /tmp
 cp [0-9*] /tmp
 cp [:num:]* /tmp
Question 32: What command would you use to show all partitions on all harddrives?
 mtab
 fdisk -l
 df
 du
 fstab
Question 33: How could you check the integrity of a non mounted filesystem /dev/hdb7 even if it has a valid cleanflag?
 chkdsk /dev/hdb7
 fschk -f /dev/hdb7
 fsck /dev/hdb7
 fsck -f /dev/hdb7
 hdcheck --force /dev/hdb7
Question 34: What command is used to unmount mounted filesystems? (Just the command - no options)
Question 35: How could you get the information, what kind of quota is activated for user foo?
 quota foo
 repquota --user foo
 quota --user foo
 quotainfo foo
 repquota foo
Question 36: What ist the numeric value of the permission mode drwxr-xr-T
Question 37: How could you help users to create files with serious file permissions?
 Use cron to change the file permissions of the users files once a day
 Use replacements for the standard unix tools which create secure files
 Teach users how to use chmod
 Use a serious umask setting in the user's profile
 Change the user's directory permissions
Question 38: What command is used to change ownership of a file? (Just the command - no options)
Question 39: In the directory /home/foo exists a file named bar which is a symbolic link to /etc/services. If you would copy the link to /tmp using the command cp -d /home/foo/bar /tmp what would happen?
 The cp command would ask you whether to create a link or a file
 The destination /tmp/bar is a symbolic link to /etc/services
 The destination /tmp/bar is a symbolic link to /home/foo/bar
 Nothing. The cp-command is not made for copying links.
 The destination /tmp/bar is a regular file with the same content as /etc/services
Question 40: Which of the following programs could be used to load necessary modules when the system detects a newly connected USB-device?
 usbmanager
 usb-plug
 hotplug
 usbmgr
 usb-dyn
Question 41: Which directory contains a majority of system configuration files? Enter the whole path
Question 42: What is a X-server
 any X11 application
 a computer which offers the ability to run X11-applications
 the program which administrates the graphical IO using the X11 protocol
 a computer which offers X11-applications
 the program which manages the window borders/colors
Question 43: Which of the following programs are valid display managers for X11?
 kdm
 gdm
 xdm
 gtkm
 fdm
 xdisplaymanager
Question 44: You started an X-application with the parameter -display foo:0 but you get the message "Can't open display". What is the reason?
 you must run the command "xhost foo" before the above command
 you have to use foo:1 instead of foo:0
 foo is not known, try it with it's IP-address
 you must run "xhost yourcomputer" on foo before the above command
 you must be root to display something on other computer's screen
Question 45: You are working with vi, writing a textfile. Being in command mode, you want to move the cursor 7 characters right. Enter the necessary command
Question 46: Which is the Partition ID of a Linux Native Partition
Question 47: When do you need to rerun the grub-install command?
 After overwriting the old kernel in /boot with a new one
 After every modification of the grub configuration file
 Only the first time after installing GRUB
 After every boot
 After installing a new kernel with a new name in /boot
Question 48: Which statements concerning the program gzip are true?
 gzip is used to compress files and directories into an archive
 gzip is used to compress just a single file
 After compressing a file with gzip, the uncompressed file is removed
 gzip changes its behaviour when it is renamed to gunzip
 gzip is used to compress many files into an archive
Question 49: You have just installed the new program foobar manually. This program uses shared libraries, which are installed to /usr/local/foobar/lib. What is neccesary to do after the installation so that the libraries can be used?
 create symbolic links from every library in /usr/local/foobar/lib to /usr/lib
 edit /etc/ld.so.conf to add the new library path and then run ldconfig
 restart your computer
 run ldconfig
 edit /etc/ld.so.conf to add the new library path and then run ld.so
Question 50: You want to install the debian package file foobar.deb. This file is located in /home/bob. Which command would you use to install this file?
 apt-get install /home/bob/foobar.deb
 install /home/bob/foobar.deb
 dselect /home/bob/foobar.deb
 dpkg -i /home/bob/foobar.deb
 debinst -f /home/bob/foobar.deb
Question 51: Which command would you use to list all rpm-packets installed on your system?
 rpm -la
 rpm --show-all
 rpm -qa
 rpm --all
 rpm -q all

End of questions