Question 1: Which of the following statements are true?
 A harddisk with more than 1024 cylinders can't be mounted without LBA-mode
 The LBA-mode of a harddisk is used to turn on DMA or UDMA
 A harddisk with more than 1.2 GByte capacity can only be used in LBA-mode
 A harddisk with more than 1024 cylinders should be used in LBA-mode
 LBA-mode does not change the capacity of a harddisk
Question 2: You want to install a ISA-Plug and Play Card into your computer. Which step is necessary to use this card with Linux?
 Nothing, Linux is able to use such cards without any configuration
 Enter the correct settings in /etc/pnp.conf
 Enter the hardware parameters in /etc/pnp
 Use isapnp and pnpdump
 Linux is not able to use Plug and Play Cards
Question 3: How could you describe the following commandline? foo & bar & foobar
 The commands foo and bar are started in the background, foobar is started in the foreground
 The commands foo, bar and foobar are started in the background.
 The command foo is processed. If it results without error, then bar and foobar are processed.
 The commands foo, bar and foobar are processed one after another.
 The command foo is processed. If it results without error, then bar will be processed. If bar results without error, foobar will be processed.
Question 4: Many server-processes allow the root-user to force them to read their configfiles while running. How is this done?
 Use the reconf command
 Send them the SIGCONF signal
 Use the ps command
 Send them the SIGPIPE signal
 Send them the SIGHUP signal
Question 5: What command would you use to copy all files inside the current directory which names end with a number to /tmp
 cp ?[0-9] /tmp
 cp *[:num:] /tmp
 cp *.[0-9] /tmp
 cp [*0-9] /tmp
 cp *[0-9] /tmp
Question 6: What command would you use to get a list of all installed debian packages on your system?
 dpkg -L
 dpkg --all
 cat /var/lib/dpkg/available
 dpkg -l
Question 7: How could you get the information, how many kilobytes are used by the directory /home/foo including all subdirectories?
 du -s /home/foo
 cb --kilobyte --recursive /home/foo
 dirsize /home/foo
 ls -laR /home/foo
 free --used_space /home/foo
Question 8: What would the following command search for? find / -perm +4000
 All files with a permission of at least 4000
 All files which are permutated more than 4000 times.
 All files which are networking sockets with a permanent connection and which have transmitted more than 4000 Bytes
 All files which are permutated more than 4000 minutes ago.
 All files which are "unchanged" since more than 4000 minutes.
Question 9: How could you display all lines of text from the file foo which are not empty?
 grep ".*" foo
 grep -v \r\n foo
 grep -v ^\r\n foo
 grep -v "[]" foo
 grep -v ^$ foo
Question 10: User Bertha is member of different groups. How could you ensure, that her default group is foobar?
 Ensure that the groupname foobar is the first entry in her /etc/group line
 Ensure that the GID of foobar is the lowest GID of all her GIDs
 Add the line "chgrp foobar" inside her startup script
 Ensure that the GID of foobar is the highest GID of all her GIDs QEND:10:
 Ensure that the GID of foobar is placed in her /etc/passwd entry
Question 11: You want to install a Linux-Server without keyboard. What of the following is necessary to avoid error messages during startup?
 Nothing
 Load the module nokeyb.o
 Configure the CMos-Setup "Halt on" to "All but keyboard"
 Enter an entry "alias keyboard off" in /etc/modules.conf
 Create an empty file /etc/nokeyb
Question 12: How can you detect, which ISA-Plug and Play Cards are installed on your computer?
 Use the lspnp command
 Read the file /proc/bus/isa/pnp
 Read the file /proc/pnp
 Use the pnpdump command
 Use the isapnp command
Question 13: 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 /home/foo/bar /tmp what would happen?
 Nothing. The cp-command is not made for copying links.
 The destination /tmp/bar is a symbolic link to /etc/services
 The cp command would ask you whether to create a link or a file
 The destination /tmp/bar is a symbolic link to /home/foo/bar
 The destination /tmp/bar is a regular file with the same content as /etc/services
Question 14: What permissions need the files /etc/passwd and /etc/shadow?
 -rw-rw-rw-/-rw-rw-r--
 -rw-r--r--/-rw-------
 -rwsr--r--/-rw-------
 -rwxr--r--/-rw------t
 -rw-r--r--/-rw-r--r--
Question 15: What would be the default file permission modes for new files, if you set umask to 022 ?
 022
 644
 550
 755
 220
Question 16: You have to move the whole directory-tree /home/foo to /oldusers. What command would you use?
 mv -R /home/foo /oldusers
 move /home/foo /oldusers
 mv -r /home/foo /oldusers
 mv /home/foo /oldusers
 cp --move /home/foo /oldusers
Question 17: Which statements are true?
 Only root can use negative nice values
 A nice value reaches from 0 to 20
 Nice-values can be changed with the ps-command
 A less nice value means higher priority
 An even nice-value means high, an odd value low priority
Question 18: Which command would change the owner of all files and subdirectories under /home/foo to foobar?
 chown --recursive foobar /home/foo
 chmod foobar /home/foo
 chown -r foobar /home/foo
 chown -R foobar /home/foo
 chown foobar /home/foo
Question 19: Which of the following directories may be placed outside the root partition?
 /lib
 /home
 /var
 /boot
 /etc
Question 20: How can you describe the function of the following commands? foo | tee bar | foobar
 The command foo redirects its output to the command tee which writes it into the file bar and sends the same further to the command foobar
 The command foo redirects its output to the command tee. After that the command bar redirects its output to the command foobar
 The command foo writes its output to the file tee; the command bar writes its output to the file foobar
 This isn't a valid commandline
 The command foobar gets its input from the command bar which gets its input from the command foo
Question 21: The user foo has got a userquota of 20 megabyte in his home directory. Now you want to give him 40 megabyte instead. What is to do?
 Use the command edquota foo
 Edit the file /home/quota.user with an editor
 Use the command repquota foo
 Edit the entry for /home in /etc/fstab
 Use the command addquota foo 20M
Question 22: You want to install the RPM package file foobar.rpm. This file is located in /home/bob. Which command would you use to install this file?
 rpminst /home/bob/foobar.rpm
 instrpm /home/bob/foobar.rpm
 rpm -i /home/bob/foobar.rpm
 install /home/bob/foobar.rpm
 rpm -e /home/bob/foobar.rpm
Question 23: Which command would you use to check the signature of a rpm packet?
 rpm --pgpcheck filename
 rpm --checksig filename
 rpm -q --checksig filename
 rpmcheck filename
 rpm -c filename
Question 24: How would you suspend a running foreground-job?
 Ctrl-Z
 Ctrl-X
 Ctrl-C
 Ctrl-D
 Ctrl-S
Question 25: You want to install the tarball foobar.tar.gz. What command would unpack the achive?
 tar tzvf foobar.tar.gz
 zcat foobar.tar.gz | tar xf -
 tar x foobar.tar.gz
 untar foobar.tar.gz
 tar xzf foobar.tar.gz
Question 26: Which of the following commands could be used to turn all characters inside a textfile into uppercase without opening the file in an editor?
 sed
 vi
 upcase
 tr
 recode
Question 27: Consider a mounted partition /dev/hdc7 is mounted on /mnt. Which command could be used to unmount this filesystem?
 mount -u /dev/hdc7
 umount /mnt
 unmount /mnt
 umount /dev/hdc7
 unmount /dev/hdc7
Question 28: Which of the following programs could be used to load necessary modules when the system detects a newly connected USB-device?
 usb-dyn
 hotplug
 usb-plug
 usbmgr
 usbmanager
Question 29: You are working with vi, writing a textfile. After leaving insert mode with Esc you want to save and exit. What command is valid?
 :x
 :q!
 :q
 x
 :s
Question 30: What is a X-server
 the program which administrates the graphical IO using the X11 protocol
 the program which manages the window borders/colors
 any X11 application
 a computer which offers X11-applications
 a computer which offers the ability to run X11-applications
Question 31: Which file would you edit so that the displaymanager ist started automaticly at boottime?
 /etc/inittab
 /etc/X11/xdm/Xstartup
 /etc/X11/xdm/Xsession
 /etc/X11/xdm/xdm-config
 /etc/X11/XF86Config
Question 32: 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 be root to display something on other computer's screen
 foo is not known, try it with it's IP-address
 you must run "xhost yourcomputer" on foo before the above command
 you have to use foo:1 instead of foo:0
 you must run the command "xhost foo" before the above command
Question 33: Which of these programs is not a X client?
 startx
 xterm
 xclock
 xload
Question 34: You need to set the system-wide colors and fonts for the XTerm application. Where is the best place to do this?
 .profile
 /usr/lib/X11/app-defaults/XTerm
 .Xdefaults
 .xinitrc
Question 35: The commands mwm,twm, After step and olvwm are:
 X window managers
 X servers
 Named after their principal programmer
 X clients
Question 36: The XF86Config file contains?
 Configuration information for the X window manager
 Configuration information for the X applications
 Configuration information for the X display manager
 Configuration information for the X server
Question 37: The entry :0 local /usr/X11R6/bin/X must be inserted into what file to enable XDM on the console display
 /etc/X11/xdm/Xaccess
 /etc/inittab
 /etc/X11/XF86Config
 /etc/X11/xdm/Xservers
Question 38: You want to start an X session after logging in using the text interface on the console. What commands can you use?
 xinit
 xdm
 startx
 X
Question 39: When defining the commands in an .xinitrc file, the last command started must be?
 The window manager in the foreground
 Any X client in the foreground
 Any X client in the background
 The window manager in the background
Question 40: XDM is used to?
 Install the X software
 Authenticate users and start an X session
 Manage the X display and interface with clients
 Configure the X server
Question 41: What command is not used for configuring the X environment
 xf86config
 XF86Setup
 Xconfigurator
 XInstall.sh

End of questions