| Question 1: Which of the following statements are true? |
 |
LBA-mode does not change the capacity of a harddisk |
 |
A harddisk with more than 1.2 GByte capacity can only be used in LBA-mode |
 |
A harddisk with more than 1024 cylinders can't be mounted without LBA-mode |
 |
A harddisk with more than 1024 cylinders should be used in LBA-mode |
 |
The LBA-mode of a harddisk is used to turn on DMA or UDMA |
|
| Question 2: The isapnp command uses a configuration file named isapnp.conf. How do you create this file? |
 |
Manually with an editor |
 |
Using the pnpdump command |
 |
Using the --create-configfile parameter of isapnp |
 |
Using the ./configure command in /etc/isapnp |
 |
Copy the informations in /proc/pnp to the file |
|
| Question 3: Which flag would you use with setserial to enable 115 KBit for a serial port? |
 |
spd_vhi |
 |
spd_115 |
 |
spd_shi |
 |
spd_warp |
 |
spd_hi |
|
| Question 4: Which is the partition ID of a Linux Swap Partition |
|
|
|
| Question 5: Enter the full path of the LILO configuration file |
|
|
|
| Question 6: You want to compile and install a GNU software package, but you want to change the default installation target. Which file would you edit? |
 |
.config |
 |
config.h |
 |
Makefile |
 |
targets |
 |
configure |
|
| Question 7: Which programm is used to maintain the file /etc/ld.so.cache? |
 |
ldd |
 |
ld.so |
 |
ldconfig |
 |
libconf |
 |
ldcache |
|
| Question 8: You want to install a RPM packet file foobar.rpm on a debian system. What command would you use to convert the rpm-file into debian deb format? |
 |
pcktconv -o foobar.deb foobar.rpm |
 |
rpmtodeb foobar.rpm |
 |
alien --to-deb foobar.rpm |
 |
rpm2deb foobar.rpm |
 |
pcktconv --to-deb foobar.rpm |
|
| Question 9: What command is used to reconfigure a formerly installed debian packet. Enter just the name without path and options. |
|
|
|
| Question 10: How could you describe the following commandline? foo & bar & foobar |
 |
The commands foo, bar and foobar are started in the background. |
 |
The commands foo and bar are started in the background, foobar is started in the foreground |
 |
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 11: Which command would change the owner of all files and subdirectories under /home/foo to foobar? |
 |
chown -r foobar /home/foo |
 |
chmod foobar /home/foo |
 |
chown --recursive foobar /home/foo |
 |
chown -R foobar /home/foo |
 |
chown foobar /home/foo |
|
| Question 12: The textfile foo has got 30 lines of text. How could you extract the lines 11 to 20 to STDOUT? |
 |
extract -l 11-20 foo |
 |
head -n 20 | tail -n 10 foo |
 |
tail -n 20 foo | head -n 10 |
 |
head -n 20 foo | tail -n 10 |
 |
tail -n 20 | head -n 10 foo |
|
| Question 13: What command is used to get the first lines of a textfile (just the command - no options)? |
|
|
|
| Question 14: You want to deinstall the packet foobar from your RedHat box. But you are not sure, if some other packets depend on this packet. What command would you use to get this information? |
 |
rpm -q --list-deps foobar |
 |
rpm -q --whatrequires foobar |
 |
rpm -d foobar |
 |
rpm --dep foobar |
 |
grep foobar /var/rpm/deps |
|
| Question 15: You want to install a Linux-Server without keyboard. What of the following is necessary to avoid error messages during startup? |
 |
Load the module nokeyb.o |
 |
Create an empty file /etc/nokeyb |
 |
Configure the CMos-Setup "Halt on" to "All but keyboard" |
 |
Enter an entry "alias keyboard off" in /etc/modules.conf |
 |
Nothing |
|
| Question 16: How could you describe the following commandline? foo > bar 2>&1 |
 |
The command foo writes its output into the file bar and into the file 2. |
 |
This isn't a valid commandline. |
 |
The command bar is only processed if the command foo returns a status of 1 or 2. |
 |
The command foo writes its STDOUT and STDERR into the file bar. |
 |
The command foo redirects its output to the command bar and bar redirects its input back to foo. |
|
| Question 17: Which command would copy the whole directory tree, including all subdirectories under /home/foo to /tmp? |
 |
cp -a /home/foo /tmp |
 |
mv -cr /home/foo /tmp |
 |
cp -r /home/foo /tmp |
 |
cp /home/foo /tmp |
 |
xcp -s /home/foo /tmp |
|
| Question 18: The __-command starts processes with less priority. |
 |
more |
 |
nice |
 |
prior |
 |
less |
 |
startproc |
|
| Question 19: What command is used to display a textfile in reversed order (last line first - first line last) - just the command, no options? |
|
|
|
| Question 20: What would the following command result in? cp /home/foo/bar /home/bar/foo /foo |
 |
The file /home/foo/bar is copied into the directorys /home/bar/foo and /foo |
 |
The files /home/foo/bar and /home/bar/foo are copied together in the file /foo |
 |
The files /home/foo/bar, /home/bar/foo, and /foo are copied into the current directory |
 |
The files /home/foo/bar and /home/bar/foo are copied into the directory /foo |
 |
This isn't a valid commandline |
|
| Question 21: How could you start the command foo in the foreground? |
 |
foo & |
 |
fg foo |
 |
foo | |
 |
foo -fg |
 |
foo |
|
| Question 22: What command offers you an ongoing look at processor activity in real time (just the command - no options)? |
|
|
|
| Question 23: What means the following construct inside a regular expression? [^A-Z][!A-Z] |
 |
A non uppercase letter at the beginning of a word followed by a non uppercase letter. |
 |
The starting of a line, followed by an uppercase letter, followed by a non uppercase letter. |
 |
A non uppercase letter followed by either an ! or an uppercase letter |
 |
An uppercase letter at the beginning of a word followed by a non uppercase letter. |
 |
Either the starting of a line or an uppercase letter followed by a non uppercase letter. |
|
| Question 24: What set of files would be affected by the following wildcard? foo.*bar |
 |
foobar foo.2bar foo.34bar |
 |
foobar foo1bar foo2bar |
 |
foo.bar foo.1bar foo.2bar |
 |
foo.1bar foo.2bar Foo.3.bar |
 |
foo.1bar foo.2bar foo.Fbar |
|
| Question 25: What is the Partition System ID of a regular Linux Partition? (just the two digits) |
|
|
|
| Question 26: While monitoring the integrity of the filesystems, you detect, that there are no more free inodes left on the /home partition although there are many megabytes free space. What could be the reason? |
 |
The report of many megabytes free space is wrong due to an overflow of the 32 Bit Free-Space-Variable. |
 |
A user has created lots of very small files. |
 |
The inode table is corrupted. |
 |
This is a typical filesystem error on ext2 partitions. |
 |
There are lots of cross-linked files. |
|
| Question 27: 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 addquota foo 20M |
 |
Edit the file /home/quota.user with an editor |
 |
Use the command edquota foo |
 |
Edit the entry for /home in /etc/fstab |
 |
Use the command repquota foo |
|
| Question 28: What is the numeric value of the permission mode -rwxr-sr-- |
|
|
|
| Question 29: You want to force a user to create files with a permission mode of 600. How would you set the umask? |
 |
umask 177 |
 |
umask 600 |
 |
umask 770 |
 |
umask 700 |
 |
umask 077 |
|
| Question 30: User Bertha is member of different groups. How could you ensure, that her default group is foobar? |
 |
Ensure that the GID of foobar is the highest GID of all her GIDs QEND:20: |
 |
Ensure that the GID of foobar is the lowest GID of all her GIDs |
 |
Ensure that the GID of foobar is placed in her /etc/passwd entry |
 |
Add the line "chgrp foobar" inside her startup script |
 |
Ensure that the groupname foobar is the first entry in her /etc/group line |
|
| Question 31: Which command would you use to set the speed of a serial interface? |
 |
setbaud |
 |
setserial |
 |
setspeed |
 |
setcom |
 |
set_comport |
|
| Question 32: Which directory contains a majority of system configuration files? Enter the whole path |
|
|
|
| Question 33: In what section of your XF86Config file would you enter the directive to use a particular font server? |
 |
Section "Screen" |
 |
Section "ServerFlags" |
 |
Section "Files" |
 |
Section "Module" |
 |
Section "InputDevice" |
|
| Question 34: Most linux systems offer a display manager runlevel. What statement about this runlevel is true? |
 |
This runlevel has nothing to do with X11 |
 |
X11 is started automaticly an offers a login window |
 |
X11 can be started using startx in this runlevel |
 |
X11 can be started using xinit in this runlevel |
 |
X11 is started automaticly for user root |
|
| Question 35: You want to run a x-application on the computer foo but it should display on the screen of computer bar. What parameter for the application is needed to realize this? |
 |
-display bar |
 |
-display:bar:0 |
 |
-display bar:0 |
 |
-display=bar:0 |
 |
--display=bar |
|
| Question 36: You are working with vi, writing a textfile. Being in command mode, you want to move the cursor 7 characters left. What command could you use? |
 |
7h |
 |
7L |
 |
l7 |
 |
7[212 |
 |
7l |
|
| Question 37: Which of the following directories may be placed outside the root partition? |
 |
/lib |
 |
/tmp |
 |
/boot |
 |
/etc |
 |
/usr |
|
| Question 38: When do you need to rerun the grub-install command? |
 |
After every boot |
 |
Only the first time after installing GRUB |
 |
After every modification of the grub configuration file |
 |
After overwriting the old kernel in /boot with a new one |
 |
After installing a new kernel with a new name in /boot |
|
| Question 39: You want to install the tarball foobar.tar.gz. What command would unpack the achive? |
 |
tar tzvf foobar.tar.gz |
 |
untar foobar.tar.gz |
 |
tar xzf foobar.tar.gz |
 |
tar x foobar.tar.gz |
 |
zcat foobar.tar.gz | tar xf - |
|
| Question 40: 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? |
 |
restart your computer |
 |
edit /etc/ld.so.conf to add the new library path and then run ld.so |
 |
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 |
 |
run ldconfig |
|
| Question 41: 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 |
 |
dpkg -i /home/bob/foobar.deb |
 |
debinst -f /home/bob/foobar.deb |
 |
install /home/bob/foobar.deb |
 |
dselect /home/bob/foobar.deb |
|
| Question 42: Which command would you use to get a list of all files inside the rpm-packet foobar.rpm in /home/bob? |
 |
rpm -l -p /home/bob/foobar.rpm |
 |
rpm -ql /home/bob/foobar.rpm |
 |
rpm -l /home/bob/foobar.rpm |
 |
rpm -ql -p /home/bob/foobar.rpm |
|