Benutzer:Exxu/InArbeit03

Aus Wikiversity

Wechseln zu: Navigation, Suche

Fragenliste

[Bearbeiten] Test 001

{{../../Testkopf}}

1.
After a long time of working in several directories you want to know the filesystem where your working directory is mounted at. What is the best way to get that information?
df .
{{../../korrekt|}}
mount
{{../../gültig|}}
cat /etc/mtab
{{../../gültig|}}
cat /proc/mounts
{{../../gültig|}}
du -s .
{{../../gültig|}}
cat /etc/fstab
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 002

{{../../Testkopf}}

1.
You are editing a new script with "vi". You are not shure about the name you can give to that script. You want to have a look at the working directory to see if there is a file named "foo" already. You changed into the command mode. What command should you type now?
:o foo
{{../../gültig|}}
:ls foo
{{../../gültig|}}
:!ls foo
{{../../korrekt|}}
:ql foo
{{../../gültig|}}
:find . -name foo -maxdepth 1
{{../../gültig|}}
:q!
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 003

{{../../Testkopf}}

1.
You are editing your script named "foo" with "vi". You are not shure about the changes you have made and you want to leave "vi" without saving anything. You changed into the command mode. What command should you type now?
:w!
{{../../gültig|}}
:!q
{{../../gültig|}}
!ignore
{{../../gültig|}}
:q!
{{../../korrekt|}}
:!x
{{../../gültig|}}
:w
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 004

{{../../Testkopf}}

1.
You are editing your readonly script named "foo" with "vi". You want to save your changes but not to exit "vi". You changed into the command mode. What command should you type now?
:w!
{{../../korrekt|}}
:!w
{{../../gültig|}}
!chmod u+w
{{../../gültig|}}
:x
{{../../gültig|}}
ZZ
{{../../gültig|}}
:w
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 005

{{../../Testkopf}}

1.
What shell variable contains the execution code of a program after its termination?
$?
{{../../korrekt|}}
$$
{{../../gültig|}}
$0
{{../../gültig|}}
$*
{{../../gültig|}}
$@
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 006

{{../../Testkopf}}

1.
What shell variable contains the process ID while a shell script is running?
$?
{{../../gültig|}}
$$
{{../../korrekt|}}
$0
{{../../gültig|}}
$*
{{../../gültig|}}
$@
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 007

{{../../Testkopf}}

1.
What shell variable contains the shell script's name while the script is running?
$?
{{../../gültig|}}
$$
{{../../gültig|}}
$0
{{../../korrekt|}}
$*
{{../../gültig|}}
$@
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 008

{{../../Testkopf}}

1.
What is the execution code of a program if it terminates with an error?
0
{{../../gültig|}}
-1
{{../../gültig|}}
1
{{../../korrekt|}}
255
{{../../gültig|}}
65535
{{../../gültig|}}
127
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 009

{{../../Testkopf}}

1.
What is the execution code of a program if it terminates without an error?
0
{{../../korrekt|}}
-1
{{../../gültig|}}
1
{{../../gültig|}}
255
{{../../gültig|}}
65535
{{../../gültig|}}
127
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 010

{{../../Testkopf}}

1.
The last time did compile your kernel you have set the variable CCARCH to some value. Now you want to compile your kernel again, but without that variable. What best can you do to delete it? Enter the whole command

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 011

{{../../Testkopf}}

1.
You have the file "file". You want to delete more than one blanks and replace them by one blank only. What best can you do?
sed 's/ */ /g;' file > file2 && mv file2 file
{{../../korrekt|}}
sed 's/ */ /g;' file > file
{{../../gültig|}}
unexpand file > file2; mv file2 file
{{../../gültig|}}
cat file | tr [ ]+ [ ] > file
{{../../gültig|}}
cat file | tr [ ]+ [ ] > file2 && mv file2 file
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 012

{{../../Testkopf}}

1.
You want to backup your home directory and to have the name of the backup file containing the date but with underscores instead of blanks. What best should you do?
tar cf myhome_`date | sed 's/ /_/g'`.bak ~
{{../../korrekt|}}
tar xf myhome_$(date | sed '/s /_').bak ~
{{../../gültig|}}
tar xf myhome_$(date | sed 's/ /_/).bak ~
{{../../gültig|}}
tar cf myhome_`date | tr ' ' '_'`.bak ~
{{../../korrekt|}}
tar cf myhome_$(date_+%y-%m-%d).bak ~
{{../../gültig|}}
tar cf `date_+myhome_%y_%m_%d.bak` ~
{{../../gültig|}}
echo myhome_`date`.bak ~ | sed 's/ /_/g' | xargs tar cf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 013

{{../../Testkopf}}

1.
You want to backup your home directory and to have the name of the backup file containing the date. What best should you do?
tar xf myhome_'date +%y-%m-%d'.bak ~
{{../../gültig|}}
tar xf myhome_$(date +%y-%m-%d).bak ~
{{../../gültig|}}
tar xf `date +myhome_%y-%m-%d.bak` ~
{{../../gültig|}}
tar cf myhome_'date +%y-%m-%d'.bak ~
{{../../gültig|}}
tar cf myhome_$(date +%y-%m-%d).bak ~
{{../../korrekt|}}
tar cf `date +myhome_%y-%m-%d.bak` ~
{{../../korrekt|}}
echo date ~ | xargs tar cf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 014

{{../../Testkopf}}

1.
What does the following commandline do: "ls *.*
translates all uppercase letters of the name of the first regular file to lowercase one
{{../../korrekt|}}
translates all uppercase letters of any files to lowercase one
{{../../gültig|}}
creates a list of all files containing uppercase letters in their names
{{../../gültig|}}
shows the content of the first regular file containing uppercase letters in its name
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 015

{{../../Testkopf}}

1.
What file probably has the following content: "ftp:x:103:3:ftp:/usr/ftp:/bin/false/"? Enter full path and name.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 016

{{../../Testkopf}}

1.
What file probably has the following content: "/dev/hda2 none swap sw 0 0"? Enter full path and name.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 017

{{../../Testkopf}}

1.
How many bits are used to represent the permission mode of your files and directories?
12
{{../../korrekt|}}
9
{{../../gültig|}}
6
{{../../gültig|}}
4
{{../../gültig|}}
3
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 018

{{../../Testkopf}}

1.
You have written a script called "foo". It is placed in your home directory. You have made it executable. When you run the command foo in your home directory, you get the line "-bash: foo: command not found". What may be the reason?
Your home directory is not part of the PATH variable
{{../../korrekt|}}
A script to be used as a command should have the file extension ".sh"
{{../../gültig|}}
The first line of your script (the so called "she-bang" line) is missing
{{../../gültig|}}
You have some errors in your script
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 019

{{../../Testkopf}}

1.
What permissions are represented by the mode 1774?
rwxrwxr-T
{{../../korrekt|}}
rwxrwxr-t
{{../../gültig|}}
trwxrwxr--
{{../../gültig|}}
trwxrwxr-t
{{../../gültig|}}
trwxrwxr-T
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 020

{{../../Testkopf}}

1.
What is the value of the "Sticky" Bit?
4
{{../../gültig|}}
2
{{../../gültig|}}
1
{{../../korrekt|}}
3
{{../../gültig|}}
7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 021

{{../../Testkopf}}

1.
What is the value of the "Set Group ID" Bit?
4
{{../../gültig|}}
2
{{../../korrekt|}}
1
{{../../gültig|}}
3
{{../../gültig|}}
7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 022

{{../../Testkopf}}

1.
What is the value of the "Set User ID" Bit?
4
{{../../korrekt|}}
2
{{../../gültig|}}
1
{{../../gültig|}}
3
{{../../gültig|}}
7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 023

{{../../Testkopf}}

1.
What special mode bits are available to define file permissions?
SUID, SGID, Sticky
{{../../korrekt|}}
UID, GID, StID
{{../../gültig|}}
SID, GID, Sticky
{{../../gültig|}}
UBit, GBit, StickyBit
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 024

{{../../Testkopf}}

1.
/dev/____ ist the first logical partition of the master on the first IDE-channel.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 025

{{../../Testkopf}}

1.
/dev/____ ist the first logical partition of the master on the second IDE-channel.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 026

{{../../Testkopf}}

1.
/dev/____ ist the first logical partition of the slave on the first IDE-channel.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 027

{{../../Testkopf}}

1.
/dev/____ ist the first logical partition of the slave on the second IDE-channel.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 028

{{../../Testkopf}}

1.
After an awful lot of work checking filesystem integrity in single user mode, you change back again to multi user mode. What single command could you use to mount all partitions at the right places? (Use the command and options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 029

{{../../Testkopf}}

1.
Enter the command to create a link. (Just the command, no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 030

{{../../Testkopf}}

1.
Enter the full path and name of the LILO configuration file

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 031

{{../../Testkopf}}

1.
In what file do you configure which partitions should be mounted on bootup? (give the whole path and filename)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 032

{{../../Testkopf}}

1.
In which file will you find a listing of all used DMA-channels of your computer?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 033

{{../../Testkopf}}

1.
In which file will you find a listing of all currently supported character devices?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 034

{{../../Testkopf}}

1.
In which file will you find a listing of all currently supported block devices?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 035

{{../../Testkopf}}

1.
In which file will you find a listing of all used IO-Ports of your computer?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 036

{{../../Testkopf}}

1.
In which file will you find a listing of all used IRQs of your computer?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 037

{{../../Testkopf}}

1.
What command allows you to extract particular columns out of a textfile (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 038

{{../../Testkopf}}

1.
What command changes tabs to spaces (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 039

{{../../Testkopf}}

1.
What command changes the default permission mode for newly created files? (Just the command - no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 040

{{../../Testkopf}}

1.
What command is used to change group membership of a file? (Just the command - no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 041

{{../../Testkopf}}

1.
What command is used to change ownership of a file? (Just the command - no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 042

{{../../Testkopf}}

1.
What command is used to change the permission mode of a file? (Just the command - no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 043

{{../../Testkopf}}

1.
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)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 044

{{../../Testkopf}}

1.
What command is used to connect lines of different textfiles to one line, without concerning common fields (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 045

{{../../Testkopf}}

1.
What command is used to count the number of lines, words and characters inside a textfile - just the command, no options?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 046

{{../../Testkopf}}

1.
What command is used to cut a big file into many smaller files (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 047

{{../../Testkopf}}

1.
What command is used to display a textfile in reversed order (last line first - first line last) - just the command, no options?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 048

{{../../Testkopf}}

1.
What command is used to get the first lines of a textfile (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 049

{{../../Testkopf}}

1.
What command is used to get the last lines of a textfile (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 050

{{../../Testkopf}}

1.
What command is used to remove duplicate lines from a sorted file (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 051

{{../../Testkopf}}

1.
What command is used to convert spaces to tabs (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 052

{{../../Testkopf}}

1.
What command is used to sort lines of textfiles (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 053

{{../../Testkopf}}

1.
What command is used to translate or delete characters (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 054

{{../../Testkopf}}

1.
What command is used to convert textfiles for printing (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 055

{{../../Testkopf}}

1.
What command is used to print file in octal and other formats (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 056

{{../../Testkopf}}

1.
What command is used to number lines of files (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 057

{{../../Testkopf}}

1.
What command is used to wrap lines to fit in specified width (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 058

{{../../Testkopf}}

1.
What command is used for simple optimal text formating (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 059

{{../../Testkopf}}

1.
What command is used to concatenate files (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 060

{{../../Testkopf}}

1.
What command is used to reconfigure a formerly installed debian packet. Enter just the name without path and options.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 061

{{../../Testkopf}}

1.
What command is used to unmount mounted filesystems? (Just the command - no options)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 062

{{../../Testkopf}}

1.
What command is used to view binary data using the text-console (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 063

{{../../Testkopf}}

1.
What command offers you a snapshot of the current processes (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 064

{{../../Testkopf}}

1.
What command offers you an ongoing look at processor activity in real time (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 065

{{../../Testkopf}}

1.
What command sends signals to processes (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 066

{{../../Testkopf}}

1.
What command sorts its input stream in alphabetic order (just the command - no options)?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 067

{{../../Testkopf}}

1.
What command starts processes with higher or lower priority?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 068

{{../../Testkopf}}

1.
What file includes the information about all currently mounted filesystems? (give the whole path and filename)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 069

{{../../Testkopf}}

1.
What is the Partition System ID of a regular Linux Partition? (just the two digits)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 070

{{../../Testkopf}}

1.
What is the numeric value of the permission mode -rwsr-xr-x

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 071

{{../../Testkopf}}

1.
What is the numeric value of the permission mode -rwxr-sr--

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 072

{{../../Testkopf}}

1.
What ist the Partition System ID of a Linux Swap Partition? (just the two digits)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 073

{{../../Testkopf}}

1.
What ist the numeric value of the permission mode drwxr-xr-T

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 074

{{../../Testkopf}}

1.
Which directory contains a majority of system configuration files? Enter the whole path

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 075

{{../../Testkopf}}

1.
Which is the Partition ID of a Linux Native Partition

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 076

{{../../Testkopf}}

1.
Which is the partition ID of a Linux Swap Partition

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 077

{{../../Testkopf}}

1.
Which program is used to determine which shared libraries are used by a particular other program?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 078

{{../../Testkopf}}

1.
Which toplevel directory contains the spool and log directories? Enter the whole path

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 079

{{../../Testkopf}}

1.
You are working with vi, writing a textfile. After leaving insert mode with Esc you want to exit without saving. Enter the necessary command

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 080

{{../../Testkopf}}

1.
You are working with vi, writing a textfile. Being in command mode, you want to move the cursor 4 lines up. Enter the necessary command

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 081

{{../../Testkopf}}

1.
You are working with vi, writing a textfile. Being in command mode, you want to move the cursor 7 characters left. Enter the necessary command

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 082

{{../../Testkopf}}

1.
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

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 083

{{../../Testkopf}}

1.
You are working with vi, writing a textfile. Being in command mode, you want to move the cursor 7 lines down. Enter the necessary command

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 084

{{../../Testkopf}}

1.
You want to run an X-application on your local machine but it should display itself on the first display-server of foo. The command is "xapplication -display __________" (Don't use screennumbers)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 085

{{../../Testkopf}}

1.
Consider a mounted partition /dev/hdc7 is mounted on /mnt. Which command could be used to unmount this filesystem?
umount /dev/hdc7
{{../../korrekt|}}
unmount /dev/hdc7
{{../../gültig|}}
umount /mnt
{{../../korrekt|}}
unmount /mnt
{{../../gültig|}}
mount -u /dev/hdc7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 086

{{../../Testkopf}}

1.
Consider a unmounted partition /dev/hdc7 should be mounted on /usr/local. The following entry in /etc/fstab exists: /dev/hdc7 /usr/local ext2 defaults 1 2 Which command could you use to mount the filesystem?
mount -l /dev/hdc7
{{../../gültig|}}
mount /dev/hdc7
{{../../korrekt|}}
mount /dev/hdc7 /usr/local
{{../../korrekt|}}
mount /usr/local
{{../../korrekt|}}
mount -V /usr/local
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 087

{{../../Testkopf}}

1.
For which directories could you use use an own partition?
/boot
{{../../korrekt|}}
/proc
{{../../gültig|}}
/tmp
{{../../korrekt|}}
/home
{{../../korrekt|}}
/bin
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 088

{{../../Testkopf}}

1.
How can you describe the function of the following commands? foo
The command foobar gets its input from the command bar
{{../../gültig|}}
The command bar writes its output to the file foobar
{{../../korrekt|}}
The command foo writes its output to the file bar
{{../../gültig|}}
The command foo redirects its output to the command bar
{{../../korrekt|}}
STDIN of foo is connected to STDOUT of bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 089

{{../../Testkopf}}

1.
How can you detect, which PCI devices are connected to your computer?
Using the readpci command
{{../../gültig|}}
Using the lspci command
{{../../korrekt|}}
Using the getpci command
{{../../gültig|}}
Using the pci_info command
{{../../gültig|}}
Using the file /proc/pci
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 090

{{../../Testkopf}}

1.
How could you get a list of all running processes?
ps
{{../../gültig|}}
ps ax
{{../../korrekt|}}
getprocess
{{../../gültig|}}
top
{{../../korrekt|}}
down
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 091

{{../../Testkopf}}

1.
How could you try to stop a hung process which refuses to accept keyboard input?
Ctrl-C
{{../../gültig|}}
Ctrl-S
{{../../gültig|}}
kill -9 PID
{{../../korrekt|}}
kill PID
{{../../korrekt|}}
ipcsend SIGKILL PID
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 092

{{../../Testkopf}}

1.
The file foo has a permission mode of -rw-------, is owned by user bar and belongs to group foobar. Which of the following commands would allow members of the group foobar to read the file?
chmod o+r foo
{{../../gültig|}}
chmod g+r foo
{{../../korrekt|}}
chmod +r foo
{{../../korrekt|}}
chmod a+r foo
{{../../korrekt|}}
chmod 604 foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 093

{{../../Testkopf}}

1.
The textfile foo has got 30 lines of text. How could you extract the lines 11 to 20 to STDOUT?
tail -n 20 | head -n 10 foo
{{../../gültig|}}
tail -n 20 foo | head -n 10
{{../../korrekt|}}
head -n 20 foo | tail -n 10
{{../../korrekt|}}
head -n 20 | tail -n 10 foo
{{../../gültig|}}
extract -l 11-20 foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 094

{{../../Testkopf}}

1.
What set of files would be affected by the following wildcard? foo.*bar
foo.bar foo.1bar foo.2bar
{{../../korrekt|}}
foobar foo.2bar foo.34bar
{{../../gültig|}}
foo.1bar foo.2bar foo.Fbar
{{../../korrekt|}}
foo.1bar foo.2bar Foo.3.bar
{{../../gültig|}}
foobar foo1bar foo2bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 095

{{../../Testkopf}}

1.
What tool could you use to change the nice value of a running process?
ps
{{../../gültig|}}
top
{{../../korrekt|}}
nice
{{../../gültig|}}
renice
{{../../korrekt|}}
setpriority
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 096

{{../../Testkopf}}

1.
When do you need to rerun the grub-install command?
After every boot
{{../../gültig|}}
After every modification of the grub configuration file
{{../../gültig|}}
After installing a new kernel with a new name in /boot
{{../../gültig|}}
After overwriting the old kernel in /boot with a new one
{{../../gültig|}}
Only the first time after installing GRUB
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 097

{{../../Testkopf}}

1.
When do you need to run the lilo command?
After every boot
{{../../gültig|}}
After every modification of the lilo configuration file
{{../../korrekt|}}
After installing a new kernel with a new name in /boot
{{../../korrekt|}}
After overwriting the old kernel in /boot with a new one
{{../../korrekt|}}
Only the first time after installing LILO
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 098

{{../../Testkopf}}

1.
Which command would change the owner of all files and subdirectories under /home/foo to foobar?
chmod foobar /home/foo
{{../../gültig|}}
chown foobar /home/foo
{{../../gültig|}}
chown -r foobar /home/foo
{{../../gültig|}}
chown -R foobar /home/foo
{{../../korrekt|}}
chown --recursive foobar /home/foo
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 099

{{../../Testkopf}}

1.
Which directories are forced to be located on the root partition?
/boot
{{../../gültig|}}
/proc
{{../../gültig|}}
/usr
{{../../gültig|}}
/dev
{{../../korrekt|}}
/etc
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 100

{{../../Testkopf}}

1.
Which directory contains manpages?
/man
{{../../gültig|}}
/usr/man
{{../../korrekt|}}
/usr/local/man
{{../../korrekt|}}
/usr/doc/man
{{../../korrekt|}}
/var/man
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 101

{{../../Testkopf}}

1.
Which of the following commands copies the contents off all files in the current directory into the file "allfiles"?
cp * allfiles
{{../../gültig|}}
cat * > allfiles
{{../../korrekt|}}
cp * > allfiles
{{../../gültig|}}
cat * >> allfiles
{{../../korrekt|}}
cat * allfiles
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 102

{{../../Testkopf}}

1.
Which of the following commands could be used to search for a particular term inside a textfile without opening the file?
grep
{{../../korrekt|}}
vi
{{../../gültig|}}
ex
{{../../gültig|}}
less
{{../../gültig|}}
sed
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 103

{{../../Testkopf}}

1.
Which of the following commands could be used to turn all characters inside a textfile into uppercase without opening the file in an editor?
upcase
{{../../gültig|}}
recode
{{../../gültig|}}
sed
{{../../korrekt|}}
tr
{{../../korrekt|}}
vi
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 104

{{../../Testkopf}}

1.
Which of the following commands would create a hardlink named bar using the same inode as foo?
ln foo bar
{{../../korrekt|}}
ln bar foo
{{../../gültig|}}
cp -l foo bar
{{../../korrekt|}}
cp -d foo bar
{{../../gültig|}}
ls -l foo bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 105

{{../../Testkopf}}

1.
Which of the following directories have to be placed on the root partition?
/tmp
{{../../gültig|}}
/etc
{{../../korrekt|}}
/var
{{../../gültig|}}
/bin
{{../../korrekt|}}
/boot
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 106

{{../../Testkopf}}

1.
Which of the following directories have to be placed on the root partition?
/usr
{{../../gültig|}}
/boot
{{../../gültig|}}
/lib
{{../../korrekt|}}
/sbin
{{../../korrekt|}}
/dev
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 107

{{../../Testkopf}}

1.
Which of the following directories may be placed outside the root partition?
/boot
{{../../korrekt|}}
/etc
{{../../gültig|}}
/usr
{{../../korrekt|}}
/lib
{{../../gültig|}}
/tmp
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 108

{{../../Testkopf}}

1.
Which of the following directories may be placed outside the root partition?
/home
{{../../korrekt|}}
/boot
{{../../korrekt|}}
/var
{{../../gültig|}}
/etc
{{../../gültig|}}
/lib
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 109

{{../../Testkopf}}

1.
Which of the following programs are valid display managers for X11?
xdisplaymanager
{{../../gültig|}}
xdm
{{../../korrekt|}}
gtkm
{{../../gültig|}}
gdm
{{../../korrekt|}}
kdm
{{../../korrekt|}}
fdm
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 110

{{../../Testkopf}}

1.
Which of the following programs can be used to configure your X-Server?
xconfig
{{../../gültig|}}
xf86config
{{../../korrekt|}}
XF86Setup
{{../../korrekt|}}
XConfig
{{../../gültig|}}
X11Config
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 111

{{../../Testkopf}}

1.
Which of the following programs could be used to load necessary modules when the system detects a newly connected USB-device?
usb-plug
{{../../gültig|}}
hotplug
{{../../korrekt|}}
usb-dyn
{{../../gültig|}}
usbmgr
{{../../korrekt|}}
usbmanager
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 112

{{../../Testkopf}}

1.
Which of the following statements are true?
A hardlink uses the same inode as it's original file.
{{../../korrekt|}}
Hardlinks may be used for files and directories on the same partition
{{../../gültig|}}
Hardlinks may be used for files on the same partition only
{{../../korrekt|}}
Hardlinks can't point to directories
{{../../korrekt|}}
A hardlink has to be in the same directory like it's original file
{{../../gültig|}}
A hardlink may reference any file on the whole system
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 113

{{../../Testkopf}}

1.
Which of the following statements are true?
The LBA-mode of a harddisk is used to turn on DMA or UDMA
{{../../gültig|}}
A harddisk with more than 1024 cylinders should be used in LBA-mode
{{../../korrekt|}}
A harddisk with more than 1.2 GByte capacity can only be used in LBA-mode
{{../../gültig|}}
LBA-mode does not change the capacity of a harddisk
{{../../korrekt|}}
A harddisk with more than 1024 cylinders can't be mounted without LBA-mode
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 114

{{../../Testkopf}}

1.
Which of the following tools could be used to search a textfile for a particular searchstring without opening it with an interactive editor?
vi
{{../../gültig|}}
sed
{{../../korrekt|}}
ed
{{../../gültig|}}
grep
{{../../korrekt|}}
find
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 115

{{../../Testkopf}}

1.
Which statements are true?
A nice value reaches from 0 to 20
{{../../gültig|}}
Only root can use negative nice values
{{../../korrekt|}}
A less nice value means higher priority
{{../../korrekt|}}
Nice-values can be changed with the ps-command
{{../../gültig|}}
An even nice-value means high, an odd value low priority
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 116

{{../../Testkopf}}

1.
Which statements concerning the program gunzip are true?
After decompressing a file with gunzip, the compressed file is removed
{{../../korrekt|}}
gunzip is a replacement for tar
{{../../gültig|}}
gunzip is a replacement for cpio
{{../../gültig|}}
gunzip is just a link to gzip
{{../../korrekt|}}
gunzip is used to extract files from a zip archive
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 117

{{../../Testkopf}}

1.
Which statements concerning the program gzip are true?
After compressing a file with gzip, the uncompressed file is removed
{{../../korrekt|}}
gzip is used to compress many files into an archive
{{../../gültig|}}
gzip is used to compress files and directories into an archive
{{../../gültig|}}
gzip is used to compress just a single file
{{../../korrekt|}}
gzip changes its behaviour when it is renamed to gunzip
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 118

{{../../Testkopf}}

1.
Which statements concerning the tool renice are true?
A normal user may only change the nice values of his own processes.
{{../../korrekt|}}
A normal user can decrease the nice value of his own processes.
{{../../gültig|}}
Once a nice value is increased, a normal user may not decrease it, even if it is his own process.
{{../../korrekt|}}
root can change the nice-values of all processes of one user with a single command.
{{../../korrekt|}}
renice allows a normal user to fasten his processes.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 119

{{../../Testkopf}}

1.
You want to configure an X11 server. For that purpose you have to enter various information about your hardware. Which informations are necessary to configure the server?
keyboard
{{../../korrekt|}}
harddisk
{{../../gültig|}}
grapic adapter
{{../../korrekt|}}
monitor
{{../../korrekt|}}
printer
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 120

{{../../Testkopf}}

1.
You want to configure an X11 server. For that purpose you have to enter various information about your hardware. Which informations are necessary to configure the server?
mouse
{{../../korrekt|}}
keyboard
{{../../korrekt|}}
network adapter
{{../../gültig|}}
monitor
{{../../korrekt|}}
printer
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 121

{{../../Testkopf}}

1.
You want to connect a X11-Terminal to your Server. But everytime you try to connect, your terminal screen keeps black. What files on the server would you edit to solve the problem?
/etc/X11/XF86Config
{{../../korrekt|}}
/etc/X11/xdm/x-terminals
{{../../gültig|}}
/etc/X11/xdm/xdm-config
{{../../korrekt|}}
/etc/X11/xdm/Xwilling
{{../../gültig|}}
/etc/X11/xdm/Xaccess
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 122

{{../../Testkopf}}

1.
You want to deinstall a deb packet foobar from your system. What would be a proper command?
remove foobar
{{../../gültig|}}
remove foobar.deb
{{../../gültig|}}
dpkg -r foobar
{{../../korrekt|}}
dselect foobar
{{../../gültig|}}
apt-get remove foobar
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 123

{{../../Testkopf}}

1.
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?
/home and /tmp each have to be on its own partition
{{../../korrekt|}}
Use qfdisk instead of fdisk to create disk-quota partitions
{{../../gültig|}}
One partition for /home is enough. You can symlink /tmp to /home later
{{../../gültig|}}
Every partition with userquotas have to have the file quota.user on their root
{{../../korrekt|}}
Every partition with userquotas need the entry usrquota in the options-field in /etc/fstab
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 124

{{../../Testkopf}}

1.
You want to install the tarball foobar.tar.bz2. What command would unpack the achive?
tar x foobar.tar.bz2
{{../../gültig|}}
untar foobar.tar.bz2
{{../../gültig|}}
tar tzvf foobar.tar.bz2
{{../../gültig|}}
tar xjf foobar.tar.bz2
{{../../korrekt|}}
bzcat foobar.tar.bz2 | tar xf -
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 125

{{../../Testkopf}}

1.
You want to install the tarball foobar.tar.gz. What command would unpack the achive?
tar x foobar.tar.gz
{{../../gültig|}}
untar foobar.tar.gz
{{../../gültig|}}
tar tzvf foobar.tar.gz
{{../../gültig|}}
tar xzf foobar.tar.gz
{{../../korrekt|}}
zcat foobar.tar.gz | tar xf -
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 126

{{../../Testkopf}}

1.
A high nice value of a process means
the process uses less irqs
{{../../gültig|}}
the priority of the process is higher than normal
{{../../gültig|}}
the priority of the process is lower than normal
{{../../korrekt|}}
the process uses no enviroment
{{../../gültig|}}
the process allows interprocess communication
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 127

{{../../Testkopf}}

1.
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?
make configure; make all; make install
{{../../gültig|}}
./configure;make;make install
{{../../korrekt|}}
make config;make;make install
{{../../gültig|}}
configure;make;make install
{{../../gültig|}}
./configure;make; install
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 128

{{../../Testkopf}}

1.
How can you describe the function of the following commands? foo < bar && foobar
The command foobar gets its input from the command bar
{{../../gültig|}}
The command foo redirects its output to foobar
{{../../gültig|}}
The command bar writes its output into the file foo
{{../../gültig|}}
The command foo gets its input from the file bar and if its exitcode is 0, the command foobar will be executed
{{../../korrekt|}}
The file foo is written by the command "bar | foobar"
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 129

{{../../Testkopf}}

1.
How can you describe the function of the following commands? bar < foo > foobar
The command bar gets its input from file foo and writes its output to the file foobar
{{../../korrekt|}}
The command foo gets its input from the file bar and redirect its output to the command foobar
{{../../gültig|}}
The command bar writes its output to the files foo and foobar
{{../../gültig|}}
The command foo gets its input from the file bar and writes its output to the file foobar
{{../../gültig|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 130

{{../../Testkopf}}

1.
How can you describe the function of the following commands? foo
The command foo redirects its output to the command bar, which writes its output to foobar. If foobar exists, it will be overwritten.
{{../../gültig|}}
The command foo redirects its output to the command bar, which writes its output to foobar. If foobar exists, the results will be appended.
{{../../korrekt|}}
The command bar gets its input from the file foo and writes its output to foobar. If foobar exists, it will be overwritten.
{{../../gültig|}}
The command bar gets its input from the file foo and writes its output to foobar. If foobar exists, the results will be appended.
{{../../gültig|}}
The command foo writes its output to the file bar. If this file exists foo writes into the file foobar instead.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 131

{{../../Testkopf}}

1.
How can you describe the function of the following commands? foo
The command foo redirects its output to the command tee. After that the command bar redirects its output to the command foobar
{{../../gültig|}}
The command foo writes its output to the file tee; the command bar writes its output to the file foobar
{{../../gültig|}}
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
{{../../korrekt|}}
The command foobar gets its input from the command bar which gets its input from the command foo
{{../../gültig|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 132

{{../../Testkopf}}

1.
How can you describe the function of the following commands? foo
The command foo redirects its output to the command xargs. xargs writes its output to bar
{{../../gültig|}}
The command foo redirects its output to the command xargs. After that the command bar is started
{{../../gültig|}}
The command xargs gets its input by the file foo and writes its output to the file bar
{{../../gültig|}}
The command bar is started with the output of the command foo as parameters
{{../../korrekt|}}
The command foo is started with the output of the command bar as parameters
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 133

{{../../Testkopf}}

1.
How can you detect, which ISA-Plug and Play Cards are installed on your computer?
Use the pnpdump command
{{../../gültig|}}
Use the lspnp command
{{../../korrekt|}}
Use the isapnp command
{{../../gültig|}}
Read the file /proc/pnp
{{../../gültig|}}
Read the file /proc/bus/isa/pnp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 134

{{../../Testkopf}}

1.
How could you change the group membership of the file foobar to group foo?
chown foo foobar
{{../../gültig|}}
chgrp foo foobar
{{../../korrekt|}}
chgroup foo foobar
{{../../gültig|}}
chgrp foobar foo
{{../../gültig|}}
chperm --group foo --file foobar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 135

{{../../Testkopf}}

1.
How could you change the ownership of the file foobar to user foo?
chown foo:foobar
{{../../gültig|}}
chown foobar foo
{{../../gültig|}}
chown foo foobar
{{../../korrekt|}}
chmod --user foo foobar
{{../../gültig|}}
chperm --user foo --file foobar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 136

{{../../Testkopf}}

1.
How could you check the integrity of a non mounted filesystem /dev/hdb7 even if it has a valid cleanflag?
chkdsk /dev/hdb7
{{../../gültig|}}
fsck /dev/hdb7
{{../../gültig|}}
hdcheck --force /dev/hdb7
{{../../gültig|}}
fsck -f /dev/hdb7
{{../../korrekt|}}
fschk -f /dev/hdb7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 137

{{../../Testkopf}}

1.
How could you create a directory /foo/bar if /foo does not exist?
md /foo/bar
{{../../gültig|}}
mkdir /foo/bar
{{../../gültig|}}
mkdir -p /foo/bar
{{../../korrekt|}}
createdir /foo/bar
{{../../gültig|}}
newdir /foo/bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 138

{{../../Testkopf}}

1.
How could you describe the following commandline? foo && bar && foobar
The commands foo, bar and foobar are started in the background.
{{../../gültig|}}
The command foo is processed. If it results without error, then bar and foobar are processed.
{{../../gültig|}}
The command foo is processed. If it results without error, then bar will be processed. If bar results without error, foobar will be processed.
{{../../korrekt|}}
The commands foo, bar and foobar are processed one after another.
{{../../gültig|}}
The commands foo and bar are started in the background, foobar is started in the foreground
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 139

{{../../Testkopf}}

1.
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.
{{../../gültig|}}
The command foo and the command bar are started simultaneously.
{{../../gültig|}}
The command bar is only processed if the command foo leaves without error.
{{../../korrekt|}}
The command bar is only processed if the command foo leaves with an error.
{{../../gültig|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 140

{{../../Testkopf}}

1.
How could you describe the following commandline? foo &
The command foo is started in the background and redirects its output to the command bar.
{{../../gültig|}}
The command bar is only processed if the command foo returns no error.
{{../../gültig|}}
The command bar is only processed if the command foo returns an error.
{{../../gültig|}}
The command bar is processed after the command foo, regardless of errors.
{{../../gültig|}}
This isn't a valid commandline.
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 141

{{../../Testkopf}}

1.
How could you describe the following commandline? foo > bar 2>&1
The command foo redirects its output to the command bar and bar redirects its input back to foo.
{{../../gültig|}}
The command bar is only processed if the command foo returns a status of 1 or 2.
{{../../gültig|}}
The command foo writes its STDOUT and STDERR into the file bar.
{{../../korrekt|}}
The command foo writes its output into the file bar and into the file 2.
{{../../gültig|}}
This isn't a valid commandline.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 142

{{../../Testkopf}}

1.
How could you describe the following commandline? foo
The command foo redirect its output to the command bar.
{{../../gültig|}}
The command foo writes its output into the file bar.
{{../../gültig|}}
The command bar is only processed if the command foo leaves without error.
{{../../gültig|}}
The command bar is only processed if the command foo leaves with an error.
{{../../korrekt|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 143

{{../../Testkopf}}

1.
How could you describe the following commandline? foo; bar; foobar
The commands foo, bar and foobar are processed at the same time.
{{../../gültig|}}
The commands foo, bar and foobar are processed one after another.
{{../../korrekt|}}
The command foo is processed. If it results without error, then bar and foobar are processed.
{{../../gültig|}}
The command foo is processed. If it results without error, then bar will be processed. If bar results without error, foobar will be processed.
{{../../gültig|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 144

{{../../Testkopf}}

1.
How could you detect if the file foo and bar are hardlinked together or not?
The command "ls --link foo" shows a list of all files which are hardlinked to foo.
{{../../gültig|}}
The command "ls -i foo bar" shows the used inodes of foo and bar. If they are the same, they are linked together.
{{../../korrekt|}}
The command "islink foo bar" shows "yes" if the files are linked together, "no" if not.
{{../../gültig|}}
The command "find . --hardlink foo" shows a list of all files which are hardlinked to foo.
{{../../gültig|}}
There is no way to detect this.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 145

{{../../Testkopf}}

1.
How could you display all lines of text from the file foo which are not empty?
grep ".*" foo
{{../../gültig|}}
grep -v ^$ foo
{{../../korrekt|}}
grep -v ^\r\n foo
{{../../gültig|}}
grep -v \r\n foo
{{../../gültig|}}
grep -v "[]" foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 146

{{../../Testkopf}}

1.
How could you display any line of text from the file foo which starts with an upcase letter?
grep [A-Z] foo
{{../../gültig|}}
grep "[A-Z]" foo
{{../../gültig|}}
grep "$[A-Z]" foo
{{../../gültig|}}
grep "^[A-Z]" foo
{{../../korrekt|}}
grep "+[A-Z]" foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 147

{{../../Testkopf}}

1.
How could you format the textfile foo so that the max. line-length would be 40 characters?
format --width=40 foo
{{../../gültig|}}
fmt -w 40 foo
{{../../korrekt|}}
chll 40 foo
{{../../gültig|}}
print --line_length=40 foo
{{../../gültig|}}
cat -width 40 foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 148

{{../../Testkopf}}

1.
How could you generate a report of the user quota of /home?
repquota /home
{{../../korrekt|}}
quotarep /home
{{../../gültig|}}
quota --report /home
{{../../gültig|}}
edquota /home
{{../../gültig|}}
quotaed /home
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 149

{{../../Testkopf}}

1.
How could you get the following information: Which GID has the default group of user foo?
defgrp foo
{{../../gültig|}}
defgrp -n foo
{{../../gültig|}}
grep foo /etc/passwd | cut -d: -f4
{{../../korrekt|}}
getuserinfo -gid foo
{{../../gültig|}}
grep foo /etc/group | cut -d: -f3
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 150

{{../../Testkopf}}

1.
How could you get the information about the group membership of user foo?
getusergrp foo
{{../../gültig|}}
group foo
{{../../gültig|}}
groups foo
{{../../korrekt|}}
which groups foo
{{../../gültig|}}
cat /etc/passwd | grep foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 151

{{../../Testkopf}}

1.
How could you get the information, how many kilobytes are used by the directory /home/foo including all subdirectories?
dirsize /home/foo
{{../../gültig|}}
du -s /home/foo
{{../../korrekt|}}
ls -laR /home/foo
{{../../gültig|}}
free --used_space /home/foo
{{../../gültig|}}
cb --kilobyte --recursive /home/foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 152

{{../../Testkopf}}

1.
How could you get the information, what kind of quota is activated for user foo?
repquota foo
{{../../gültig|}}
repquota --user foo
{{../../gültig|}}
quota foo
{{../../gültig|}}
quota -u foo
{{../../korrekt|}}
quotainfo foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 153

{{../../Testkopf}}

1.
How could you get the number of all accounts on your system, including administrative and system accounts?
numusers -r
{{../../gültig|}}
wc -l /etc/passwd
{{../../korrekt|}}
count --lines /etc/passwd
{{../../gültig|}}
userinfo -n
{{../../gültig|}}
userinfo --get_num
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 154

{{../../Testkopf}}

1.
How could you get the physical SCSI address of /dev/sda ?
Using the command scsi-info /dev/sda
{{../../gültig|}}
Using the command scsi_info /dev/sda
{{../../korrekt|}}
Using the command scsiinfo /dev/sda
{{../../gültig|}}
Using the command get_scsi_info /dev/sda
{{../../gültig|}}
Using the command lsscsi
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 155

{{../../Testkopf}}

1.
How could you help users to create files with serious file permissions?
Teach users how to use chmod
{{../../gültig|}}
Use a serious umask setting in the user's profile
{{../../korrekt|}}
Change the user's directory permissions
{{../../gültig|}}
Use cron to change the file permissions of the users files once a day
{{../../gültig|}}
Use replacements for the standard unix tools which create secure files
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 156

{{../../Testkopf}}

1.
How could you monitor the amount of free inodes on /dev/hda3 ?
inode --free /dev/hda3
{{../../gültig|}}
ls -i /dev/hda3
{{../../gültig|}}
du -i /dev/hda3
{{../../gültig|}}
dm -i /dev/hda3
{{../../gültig|}}
df -i /dev/hda3
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 157

{{../../Testkopf}}

1.
You want to install a Linux-Server without keyboard. What of the following is necessary to avoid error messages during startup?
Create an empty file /etc/nokeyb
{{../../gültig|}}
Load the module nokeyb.o
{{../../gültig|}}
Configure the CMos-Setup "Halt on" to "All but keyboard"
{{../../korrekt|}}
Enter an entry "alias keyboard off" in /etc/modules.conf
{{../../gültig|}}
Nothing
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 158

{{../../Testkopf}}

1.
How could you read the current umask setting?
umask --show
{{../../gültig|}}
echo $UMASK
{{../../gültig|}}
echo $umask
{{../../gültig|}}
umask
{{../../korrekt|}}
which umask
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 159

{{../../Testkopf}}

1.
How could you remove a not empty directory /foo?
rmdir /foo
{{../../gültig|}}
rmdir -rf /foo
{{../../gültig|}}
rm -f /foo
{{../../gültig|}}
rm -r /foo
{{../../korrekt|}}
deltree /foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 160

{{../../Testkopf}}

1.
How could you start the command foo in the background?
bg foo
{{../../gültig|}}
background foo
{{../../gültig|}}
foo --background
{{../../gültig|}}
foo &
{{../../korrekt|}}
foo -bg
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 161

{{../../Testkopf}}

1.
How could you start the command foo in the foreground?
foo &
{{../../gültig|}}
foo |
{{../../gültig|}}
foo -fg
{{../../gültig|}}
foo
{{../../korrekt|}}
fg foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 162

{{../../Testkopf}}

1.
How could you watch the contents of a logfile, even if the logfile is growing while you're watching?
tail -f logfile
{{../../korrekt|}}
head -f logfile
{{../../gültig|}}
less -f logfile
{{../../gültig|}}
more -f logfile
{{../../gültig|}}
watch logfile
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 163

{{../../Testkopf}}

1.
How many extended partitions could you create on one physical harddisk?
1
{{../../korrekt|}}
3
{{../../gültig|}}
4
{{../../gültig|}}
16
{{../../gültig|}}
64
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 164

{{../../Testkopf}}

1.
How many primary partitions could you create and use with Linux on one single harddisk?
1
{{../../gültig|}}
2
{{../../gültig|}}
3
{{../../gültig|}}
4
{{../../korrekt|}}
8
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 165

{{../../Testkopf}}

1.
How would you suspend a running foreground-job?
Ctrl-Z
{{../../korrekt|}}
Ctrl-C
{{../../gültig|}}
Ctrl-X
{{../../gültig|}}
Ctrl-S
{{../../gültig|}}
Ctrl-D
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 166

{{../../Testkopf}}

1.
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 destination /tmp/bar is a symbolic link to /home/foo/bar
{{../../gültig|}}
The destination /tmp/bar is a symbolic link to /etc/services
{{../../korrekt|}}
The destination /tmp/bar is a regular file with the same content as /etc/services
{{../../gültig|}}
The cp command would ask you whether to create a link or a file
{{../../gültig|}}
Nothing. The cp-command is not made for copying links.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 167

{{../../Testkopf}}

1.
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?
The destination /tmp/bar is a symbolic link to /home/foo/bar
{{../../gültig|}}
The destination /tmp/bar is a symbolic link to /etc/services
{{../../gültig|}}
The destination /tmp/bar is a regular file with the same content as /etc/services
{{../../korrekt|}}
The cp command would ask you whether to create a link or a file
{{../../gültig|}}
Nothing. The cp-command is not made for copying links.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 168

{{../../Testkopf}}

1.
In the directory /home/foo exists a file named bar which is a symbolic link to the file foobar in the same directory, created with the command ln -s foobar bar If you would copy the link to /tmp using the command cp -d /home/foo/bar /tmp what would happen?
The destination /tmp/bar is a symbolic link to /tmp/foobar
{{../../korrekt|}}
The destination /tmp/bar is a symbolic link to /home/foo/foobar
{{../../gültig|}}
The destination /tmp/bar is a regular file with the same content as /home/foo/foobar
{{../../gültig|}}
The destination /tmp/bar is a hardlink using the same inode as /home/foo/foobar
{{../../gültig|}}
The destination /tmp/bar is a hardlink using the same inode as /home/foo/bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 169

{{../../Testkopf}}

1.
In what section of your XF86Config file would you enter the directive to use a particular font server?
Section "Module"
{{../../gültig|}}
Section "Files"
{{../../korrekt|}}
Section "ServerFlags"
{{../../gültig|}}
Section "InputDevice"
{{../../gültig|}}
Section "Screen"
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 170

{{../../Testkopf}}

1.
Many server-processes allow the root-user to force them to read their configfiles while running. How is this done?
Use the reconf command
{{../../gültig|}}
Send them the SIGPIPE signal
{{../../gültig|}}
Send them the SIGCONF signal
{{../../gültig|}}
Send them the SIGHUP signal
{{../../korrekt|}}
Use the ps command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 171

{{../../Testkopf}}

1.
What belongs to the "startx"-command
"startx" is used to start the X-server
{{../../korrekt|}}
"startx" is the name of a shell-script
{{../../korrekt|}}
"startx" is the name of a binary file
{{../../gültig|}}
"startx" is for use by root only
{{../../gültig|}}
the full path should be "/sbin/startx"
{{../../gültig|}}
"startx" is used to start any services using the commandline: "startx service"
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 172

{{../../Testkopf}}

1.
What is the variable "XAUTHORITY" used for
It points to a file that contains authorization data
{{../../korrekt|}}
It contains a list of usernames that are allowed to start the X-server
{{../../gültig|}}
It contains a list of usernames that are allowed to kill the X-server
{{../../gültig|}}
It points to the email address of the owner of the X-processes
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 173

{{../../Testkopf}}

1.
Enter the name (without path) of the program to start an X program on a remote machine

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 174

{{../../Testkopf}}

1.
Enter the name and full path of the command to start the X-server

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 175

{{../../Testkopf}}

1.
Most linux systems offer a display manager runlevel. What statement about this runlevel is true?
X11 can be started using startx in this runlevel
{{../../gültig|}}
X11 can be started using xinit in this runlevel
{{../../gültig|}}
X11 is started automaticly for user root
{{../../gültig|}}
X11 is started automaticly and offers a login window
{{../../korrekt|}}
This runlevel has nothing to do with X11
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 176

{{../../Testkopf}}

1.
The __-command starts processes with less priority.
less
{{../../gültig|}}
more
{{../../gültig|}}
nice
{{../../korrekt|}}
prior
{{../../gültig|}}
startproc
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 177

{{../../Testkopf}}

1.
The files foo and bar points to the same content. One of them was created as a hard link to the other. How could you detect which of the two is the original file and which is the link?
The ls -l command shows a "l" for the link and a "-" for the file
{{../../gültig|}}
The ls -l command shows a "->" from the link to the file
{{../../gültig|}}
The "ln --list foo bar" command shows the link and the file
{{../../gültig|}}
The ls -l command shows a different filesize for the link and the file. The file shows it's real size but the link shows only the size of it's destination filename.
{{../../gültig|}}
There is no way to differ between file and link
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 178

{{../../Testkopf}}

1.
The isapnp command uses a configuration file named isapnp.conf. How do you create this file?
Using the ./configure command in /etc/isapnp
{{../../gültig|}}
Using the --create-configfile parameter of isapnp
{{../../gültig|}}
Manually with an editor
{{../../gültig|}}
Using the pnpdump command
{{../../korrekt|}}
Copy the informations in /proc/pnp to the file
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 179

{{../../Testkopf}}

1.
The user bertha has marked an important line of one of her textfiles with an asterisk (*). But now she forgot the name of the file. How could you find this file, assuming it is located in berthas home directory?
grep * /home/bertha/*
{{../../gültig|}}
grep \* /home/bertha/*
{{../../korrekt|}}
grep "/*" /home/bertha/*
{{../../gültig|}}
grep --key=asterisk /home/bertha/*
{{../../gültig|}}
grep 0x2A /home/bertha/*
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 180

{{../../Testkopf}}

1.
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?
Edit the file /home/quota.user with an editor
{{../../gültig|}}
Edit the entry for /home in /etc/fstab
{{../../gültig|}}
Use the command repquota foo
{{../../gültig|}}
Use the command edquota foo
{{../../korrekt|}}
Use the command addquota foo 20M
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 181

{{../../Testkopf}}

1.
The user foo has reported problems creating files in his home directory. He has got a user quota of 40 megabyte but a quick check of his directory shows only 20 megabyte in use. What may be the reason?
He has hidden 60 megabytes inside a hush directory.
{{../../gültig|}}
The quota file is corrupt
{{../../gültig|}}
Quotas are counted in 512-blocks. So he has really only 20 megabyte quota
{{../../gültig|}}
He has probably many small files and his file limit is exceeded
{{../../korrekt|}}
He has too many symbolic links to big files
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 182

{{../../Testkopf}}

1.
User Bertha is member of different groups. How could you ensure, that her default group is foobar?
Add the line "chgrp foobar" inside her startup script
{{../../gültig|}}
Ensure that the groupname foobar is the first entry in her /etc/group line
{{../../gültig|}}
Ensure that the GID of foobar is placed in her /etc/passwd entry
{{../../korrekt|}}
Ensure that the GID of foobar is the lowest GID of all her GIDs
{{../../gültig|}}
Ensure that the GID of foobar is the highest GID of all her GIDs
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 183

{{../../Testkopf}}

1.
User Mike has created a file with important content last week. But now he doesn't remember the filename or location of this file. The only thing he remembers is, that the filename contains the word "Urgent". How could you help him?
which *Urgent*
{{../../gültig|}}
which "*Urgent*"
{{../../gültig|}}
find / -name "*Urgent*"
{{../../korrekt|}}
locate Urgent
{{../../gültig|}}
whereis "*Urgent*"
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 184

{{../../Testkopf}}

1.
What command is used to create a new filesystem on /dev/hda2 ?
format /dev/hda2
{{../../gültig|}}
mkform /dev/hda2
{{../../gültig|}}
mkfilesystem /dev/hda2
{{../../gültig|}}
mkfs /dev/hda2
{{../../korrekt|}}
fdisk /dev/hda2
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 185

{{../../Testkopf}}

1.
What command would you use to copy all files inside the current directory which names begin with a number to /tmp
cp [:num:]* /tmp
{{../../gültig|}}
cp [0-9]* /tmp
{{../../korrekt|}}
cp [0-9] /tmp
{{../../gültig|}}
cp [0-9*] /tmp
{{../../gültig|}}
cp [0-9].* /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 186

{{../../Testkopf}}

1.
What command would you use to copy all files inside the current directory which names end with a number to /tmp
cp *[:num:] /tmp
{{../../gültig|}}
cp *[0-9] /tmp
{{../../korrekt|}}
cp *.[0-9] /tmp
{{../../gültig|}}
cp [*0-9] /tmp
{{../../gültig|}}
cp ?[0-9] /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 187

{{../../Testkopf}}

1.
What command would you use to get a list of all installed debian packages on your system?
dpkg -l
{{../../korrekt|}}
dpkg -L
{{../../gültig|}}
dpkg --all
{{../../gültig|}}
cat /var/lib/dpkg/available
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 188

{{../../Testkopf}}

1.
What command would you use to get a list of all installed files coming from a debian packet named foobar?
dpkg -l foobar
{{../../gültig|}}
dpkg -L foobar
{{../../korrekt|}}
dpkg -ql foobar
{{../../gültig|}}
dpkg -qL foobar
{{../../gültig|}}
dpkg -q --allfiles foobar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 189

{{../../Testkopf}}

1.
What command would you use to show all partitions on all harddrives?
df
{{../../gültig|}}
mtab
{{../../gültig|}}
fstab
{{../../gültig|}}
fdisk -l
{{../../korrekt|}}
du
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 190

{{../../Testkopf}}

1.
What device is described by the following special file? /dev/hdb2
The slave on the second IDE-channel
{{../../gültig|}}
The second logical partition of the master on the first IDE-channel
{{../../gültig|}}
The second primary partition of the slave on the first IDE-channel
{{../../korrekt|}}
The second bootsector of the master on the first IDE-channel
{{../../gültig|}}
The second primary partition of the master on the second IDE-channel
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 191

{{../../Testkopf}}

1.
What information is provided by the jobs-command?
A list of all running processes started by you including PIDs
{{../../gültig|}}
A list of all jobs started by the current shell including JobIDs
{{../../korrekt|}}
A list of all jobs started by any of your shells including JobIDs
{{../../gültig|}}
A list of all jobs started by the current shell or one of its parent shells including JobIDs
{{../../gültig|}}
A list of all jobs started by the current shell including PIDs
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 192

{{../../Testkopf}}

1.
What is a X-client
a computer which uses the X11 Protocol to communicate
{{../../gültig|}}
a computer which uses a super-computer to run applications which are displayed on the local screen
{{../../gültig|}}
a program which is displayed on a graphical screen of an X Server
{{../../korrekt|}}
a computer which offers displaying on its screen
{{../../gültig|}}
a computer with a graphical user interface using X11
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 193

{{../../Testkopf}}

1.
What is a X-server
a computer which offers X11-applications
{{../../gültig|}}
a computer which offers the ability to run X11-applications
{{../../gültig|}}
the program which administrates the graphical IO using the X11 protocol
{{../../korrekt|}}
any X11 application
{{../../gültig|}}
the program which manages the window borders/colors
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 194

{{../../Testkopf}}

1.
What is a daemon-process?
A hung process which refuses to accept keyboard input
{{../../gültig|}}
A process which has already done its work but couldn't die due to other reasons
{{../../gültig|}}
A process without own terminal
{{../../korrekt|}}
A process which isn't reachable by any signals
{{../../gültig|}}
A process which isn't reachable by any signals but the KILL signal
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 195

{{../../Testkopf}}

1.
What is a zombie-process?
A hung process which refuses to accept keyboard input
{{../../korrekt|}}
A process which has already done its work but couldn't die due to other reasons
{{../../gültig|}}
A process without own terminal
{{../../gültig|}}
A process which isn't reachable by any signals
{{../../gültig|}}
A process which kills other processes
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 196

{{../../Testkopf}}

1.
What is the best way to get a running foreground-job in the background?
Kill the job using Ctrl-C and restart it in the background using &
{{../../gültig|}}
Suspend the job using Ctrl-Z and restart it in the background using &
{{../../gültig|}}
Suspend the job using Ctrl-Z and restart it in the background using bg
{{../../korrekt|}}
Start another shell from another console (or xterm) and send the job a STBG-signal
{{../../gültig|}}
Simply press Ctrl-&
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 197

{{../../Testkopf}}

1.
What is the effect of the following command? fg 4
The foregroundcolor is changed to color 4
{{../../gültig|}}
The process with the PID 4 is fetched into the foreground
{{../../gültig|}}
The job with the JobID 4 is fetched into the foreground
{{../../korrekt|}}
The name of the group with the groupID 4 is displayed
{{../../gültig|}}
This isn't a valid Linux-command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 198

{{../../Testkopf}}

1.
What is the effect of the following command? foo &
The command foo is started in the foreground
{{../../gültig|}}
The command foo is started in the background
{{../../korrekt|}}
The command foo connects its STDOUT and STDERR
{{../../gültig|}}
The command foo writes its errorcode into the variable ERR
{{../../gültig|}}
The command foo will be started again and again, until it returns a value of 0
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 199

{{../../Testkopf}}

1.
What is the meaning of the SCSI-Address 1,5,0 ?
The fifth device on the first SCSI-cable is deactivated
{{../../gültig|}}
The device with SCSI-ID 5 on the second SCSI-Bus, LUN 0
{{../../korrekt|}}
A SCSI-1 device on Bus 0 with the SCSI ID 5
{{../../gültig|}}
The first device on the fifth bus with LUN 0
{{../../gültig|}}
This isn't a valid SCSI address
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 200

{{../../Testkopf}}

1.
What is the meaning of the Substitute Group ID Bit applied to a directory?
Every file created inside this directory will be owned by the group of the directory instead of the group of the creating user.
{{../../korrekt|}}
Every user inside the directory has the rights of the group of the directory.
{{../../gültig|}}
Only members of the group of the directory can create files inside the directory, even if they otherwise would have the right to write inside the directory.
{{../../gültig|}}
A user with write permission in this directory may not remove any file inside.
{{../../gültig|}}
Nothing. The SGID bit is only used for regular files.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 201

{{../../Testkopf}}

1.
What is the meaning of the following file permission mode of the file foobar? -rwsr-xr-x 1 foo bar 12345 Oct 29 14:51 foobar
Everybody who executes this file does this under the UID of root
{{../../gültig|}}
Everybody who executes this file does this under the UID of foo
{{../../korrekt|}}
Everybody who executes this file does this under the GID of bar
{{../../gültig|}}
Everybody who executes this file does this under the UID 1
{{../../gültig|}}
Everybody who executes this file does this under the GID 1
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 202

{{../../Testkopf}}

1.
What is the meaning of the sticky bit applied to a directory?
Everybody may read the content of the directory
{{../../gültig|}}
A user with write permission in this directory may not create any file there.
{{../../gültig|}}
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.
{{../../korrekt|}}
Any user may remove files inside this directory, even if he is not the owner of the file to remove.
{{../../gültig|}}
Nothing. The sticky bit is only used for regular files.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 203

{{../../Testkopf}}

1.
What is the meaning of the sticky bit applied to a regular file?
The file is executable by everybody.
{{../../gültig|}}
Everybody who executes the file looses his normal User- and GroupID. The file is executed under the minimum permission.
{{../../gültig|}}
The file is not removeable even if the user has write permission on it.
{{../../gültig|}}
The file is removeable even if the user has no write permission on it.
{{../../gültig|}}
Nothing. The sticky bit is only used for directories.
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 204

{{../../Testkopf}}

1.
What is the number of the first logical partition on /dev/hda?
/dev/hda1
{{../../gültig|}}
/dev/hda2
{{../../gültig|}}
/dev/hda4
{{../../gültig|}}
/dev/hda5
{{../../korrekt|}}
/dev/hdal1
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 205

{{../../Testkopf}}

1.
What is the result of the following command? cd ~foo
The current directory is changed to ~foo
{{../../gültig|}}
The current directory is changed to the directory foo inside your home directory
{{../../gültig|}}
The current directory is changed to the home directory of the user foo
{{../../korrekt|}}
The current directory is changed to the nearest directory with a name ending with foo
{{../../gültig|}}
This isn't a valid command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 206

{{../../Testkopf}}

1.
What means the following construct inside a regular expression? [^A-Z][!A-Z]
The starting of a line, followed by an uppercase letter, followed by a non uppercase letter.
{{../../gültig|}}
Either the starting of a line or an uppercase letter followed by a non uppercase letter.
{{../../gültig|}}
A non uppercase letter followed by either an ! or an uppercase letter
{{../../korrekt|}}
A non uppercase letter at the beginning of a word followed by a non uppercase letter.
{{../../gültig|}}
An uppercase letter at the beginning of a word followed by a non uppercase letter.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 207

{{../../Testkopf}}

1.
What permissions need the files /etc/passwd and /etc/shadow?
-rw-r--r--/-rw-r--r--
{{../../gültig|}}
-rw-r--r--/-rw-------
{{../../korrekt|}}
-rw-rw-rw-/-rw-rw-r--
{{../../gültig|}}
-rwsr--r--/-rw-------
{{../../gültig|}}
-rwxr--r--/-rw------t
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 208

{{../../Testkopf}}

1.
What program is used to tune the screen settings after installing X11?
tuneX
{{../../gültig|}}
xvidtune
{{../../korrekt|}}
video
{{../../gültig|}}
vconfig
{{../../gültig|}}
vtune
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 209

{{../../Testkopf}}

1.
What set of files would be affected by the following wildcard? "foo.?bar"
foo.bar foo.1bar foo.2bar
{{../../gültig|}}
foo.1bar foo.2bar foo.34bar
{{../../gültig|}}
foo.1bar foo.2bar foo.Fbar
{{../../korrekt|}}
foo.1bar foo.2bar Foo.3.bar
{{../../gültig|}}
foobar foo1bar foo2bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 210

{{../../Testkopf}}

1.
What set of scripts is included in a debian packet?
install,configure,deinstall,deconfigure
{{../../gültig|}}
preinst,postinst,prerm,postrm
{{../../korrekt|}}
install,configure,libinst,libconf
{{../../gültig|}}
checklib,checkdep,checkfree,checkspace
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 211

{{../../Testkopf}}

1.
What statement about the du-command is true?
Dump User - backups all files owned by the named user.
{{../../gültig|}}
Dos Utility - provides different features to handle DOS-filesystems.
{{../../gültig|}}
Dir User - shows the directorys owned by the named user.
{{../../gültig|}}
Disk Usage - shows the amount of diskspace used by the named directories.
{{../../korrekt|}}
DOS to Unix - changes the named DOS cr/lf textfile architecture into the cr Unix architecture
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 212

{{../../Testkopf}}

1.
What statement concerning the following wildcard is correct? [A-Z]*
All files beginning with an uppercase letter followed by one letter
{{../../gültig|}}
All files beginning with an non numeric letter
{{../../gültig|}}
All files beginning with an uppercase non numeric letter
{{../../korrekt|}}
All files without numbers in their names
{{../../gültig|}}
All files beginning with one of the letters A, Z or -
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 213

{{../../Testkopf}}

1.
What statement concerning the following wildcard is correct? [A-Z]\*
All files beginning with an uppercase letter followed by one *
{{../../korrekt|}}
All files beginning with an non numeric letter
{{../../gültig|}}
All files beginning with an uppercase letter followed by the backslash
{{../../gültig|}}
All files without numbers in their names
{{../../gültig|}}
All files beginning with one of the letters A, Z or -
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 214

{{../../Testkopf}}

1.
What statement concerning the following wildcard meets the point? A[0-9]*
All files beginning with the letter A and 0 to 9 following letters
{{../../gültig|}}
All files beginning with the letter A followed by any number of numbers
{{../../gültig|}}
All files beginning with the letter A followed by any of the letters 0, - or 9
{{../../gültig|}}
All files beginning with the letter A followed by a number
{{../../korrekt|}}
All files with numbers inside their names
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 215

{{../../Testkopf}}

1.
What statement describes the following command? kill -9 1234
The KILL signal is sent to the process with PID 1234
{{../../korrekt|}}
The process with the PID 1234 receives the TERM-signal nine times
{{../../gültig|}}
All processes of the user with the UID 1234 are killed
{{../../gültig|}}
The TERM signal is sent to the processes with the PID 9 and 1234
{{../../gültig|}}
The processes with the PID 9 and 1234 are killed
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 216

{{../../Testkopf}}

1.
What statement describes the following command? kill 9 1234
The processes with the PID 9 and 1234 are killed
{{../../gültig|}}
The TERM signal is sent to the processes with the PID 9 and 1234
{{../../korrekt|}}
The KILL signal is sent to the process with PID 1234
{{../../gültig|}}
All processes of the user with the UID 1234 are killed
{{../../gültig|}}
The process with the PID 1234 receives the TERM-signal nine times
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 217

{{../../Testkopf}}

1.
What would be the default file permission modes for new files if you set umask to 022 ?
755
{{../../gültig|}}
644
{{../../korrekt|}}
022
{{../../gültig|}}
220
{{../../gültig|}}
550
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 218

{{../../Testkopf}}

1.
What would be the default file permission modes for new files if you set umask to 027 ?
755
{{../../gültig|}}
640
{{../../korrekt|}}
720
{{../../gültig|}}
027
{{../../gültig|}}
750
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 219

{{../../Testkopf}}

1.
What would be the result of the following command? cp *.* /tmp
All files in the current directory would be copied to /tmp
{{../../gültig|}}
All files in the current directory, which have exactly one dot (.) inside their names would be copied to /tmp
{{../../gültig|}}
All files in the current directory, which have one or more dots (.) anywhere inside their names but not at the beginning would be copied to /tmp
{{../../korrekt|}}
All files in the current directory, which have one or more dots (.) inside their names - but neither at the begining nor at the end of the name would be copied to /tmp
{{../../gültig|}}
This is a DOS-command - it has no meaning under Linux
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 220

{{../../Testkopf}}

1.
What would be the result of the following command? ln /bin /bin2
A hardlink /bin2 would be created, referencing the directory /bin
{{../../gültig|}}
A symbolic link /bin2 would be created, referencing the directory /bin
{{../../gültig|}}
A directory /bin2 would be created, which contains hardlinks to every file in /bin
{{../../gültig|}}
A directory /bin2 would be created, which contains symbolic links to every file and subdirectory in /bin
{{../../gültig|}}
Nothing, but an error message
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 221

{{../../Testkopf}}

1.
What would the following command result in? cp $(find . -size -12k) /tmp
The file with the name stored in the variable "find . -size -12k" will be copied to /tmp
{{../../gültig|}}
All files in the current directory which are smaller than 12 KByte will be copied to /tmp
{{../../gültig|}}
All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp.
{{../../korrekt|}}
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.
{{../../gültig|}}
This isn't a valid command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 222

{{../../Testkopf}}

1.
What would the following command result in? cp /home/foo/bar /home/bar/foo /foo
The files /home/foo/bar, /home/bar/foo, and /foo are copied into the current directory
{{../../gültig|}}
The file /home/foo/bar is copied into the directorys /home/bar/foo and /foo
{{../../gültig|}}
The files /home/foo/bar and /home/bar/foo are copied together in the file /foo
{{../../gültig|}}
The files /home/foo/bar and /home/bar/foo are copied into the directory /foo
{{../../korrekt|}}
This isn't a valid commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 223

{{../../Testkopf}}

1.
What would the following command result in? cp `find . -size -12k` /tmp
The file with the name "find . -size -12k" will be copied to /tmp
{{../../gültig|}}
All files in the current directory which are smaller than 12 KByte will be copied to /tmp
{{../../gültig|}}
All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp.
{{../../korrekt|}}
All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp. The directory structure will be copied, too.
{{../../gültig|}}
This isn't a valid command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 224

{{../../Testkopf}}

1.
What would the following command result in? echo $(date +%H:%M) > file
The string "date +%H:%M" will be written into the file
{{../../gültig|}}
The content of the variable named "date +%H:%M" will be written into the file
{{../../gültig|}}
The content of the variable named after the current time (Hours:Minutes) will be written into the file
{{../../gültig|}}
The current time (Hours:Minutes) will be written into the file
{{../../korrekt|}}
This isn't a valid command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 225

{{../../Testkopf}}

1.
What would the following command result in? echo `date +%H:%M` > file
The string "date +%H:%M" will be written into the file
{{../../gültig|}}
The string "`date +%H:%M`" will be written into the file
{{../../gültig|}}
The current time (Hours:Minutes) will be written into the file
{{../../korrekt|}}
The current time (Hours:Minutes) will be written into the variable named file.
{{../../gültig|}}
This isn't a valid command
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 226

{{../../Testkopf}}

1.
What would the following command search for? find . -size 25k
All files inside the current directory, which are bigger than 25 KByte
{{../../gültig|}}
All files inside the current directory, which are smaller than 25 KByte
{{../../gültig|}}
All files inside the current directory and all included subdirectories, which are bigger than 25 KByte
{{../../gültig|}}
All files inside the current directory and all included subdirectories, which are smaller than 25 KByte
{{../../gültig|}}
All files inside the current directory and all included subdirectories, which use exactly 25 KByte disk space
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 227

{{../../Testkopf}}

1.
What would the following command search for? find / -perm +4000
All files which are "unchanged" since more than 4000 minutes.
{{../../gültig|}}
All files which are permutated more than 4000 times.
{{../../gültig|}}
All files which are permutated more than 4000 minutes ago.
{{../../gültig|}}
All files with a permission of at least 4000
{{../../korrekt|}}
All files which are networking sockets with a permanent connection and which have transmitted more than 4000 Bytes
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 228

{{../../Testkopf}}

1.
Which command is NOT usable to install debian packages?
dpkg
{{../../gültig|}}
dselect
{{../../gültig|}}
apt-get
{{../../gültig|}}
dinst
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 229

{{../../Testkopf}}

1.
Which command shows you, how much space in Kilobytes is available on all mounted partitions?
df --free_space
{{../../gültig|}}
du
{{../../gültig|}}
df -k
{{../../korrekt|}}
free
{{../../gültig|}}
fdisk
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 230

{{../../Testkopf}}

1.
Which command shows you, how much space in Megabytes is available on all mounted partitions?
df
{{../../gültig|}}
du -m
{{../../gültig|}}
df -m
{{../../korrekt|}}
free -M
{{../../gültig|}}
fdisk
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 231

{{../../Testkopf}}

1.
Which command shows you, how much space is available on all mounted partitions?
df
{{../../korrekt|}}
df --free_space
{{../../gültig|}}
du
{{../../gültig|}}
free
{{../../gültig|}}
fdisk
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 232

{{../../Testkopf}}

1.
Which command would copy the whole directory tree, including all subdirectories under /home/foo to /tmp?
cp /home/foo /tmp
{{../../gültig|}}
cp -a /home/foo /tmp
{{../../gültig|}}
cp -r /home/foo /tmp
{{../../korrekt|}}
xcp -s /home/foo /tmp
{{../../gültig|}}
mv -cr /home/foo /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 233

{{../../Testkopf}}

1.
Which command would display the list of all running background-jobs?
list -bg
{{../../gültig|}}
joblist
{{../../gültig|}}
joblist --background
{{../../gültig|}}
job
{{../../gültig|}}
jobs
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 234

{{../../Testkopf}}

1.
Which command would move the whole directory tree, including all subdirectories under /home/foo to /home/bar?
mv /home/foo /home/bar
{{../../korrekt|}}
mv -r /home/foo /home/bar
{{../../gültig|}}
cp -rm /home/foo /home/bar
{{../../gültig|}}
move /home/foo /home/bar
{{../../gültig|}}
move -r /home/foo /home/bar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 235

{{../../Testkopf}}

1.
Which command would you use to check the signature of a rpm packet?
rpmcheck filename
{{../../gültig|}}
rpm -c filename
{{../../gültig|}}
rpm --checksig filename
{{../../korrekt|}}
rpm -q --checksig filename
{{../../gültig|}}
rpm --pgpcheck filename
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 236

{{../../Testkopf}}

1.
Which command would you use to get a list of all files inside the rpm-packet foobar.rpm in /home/bob?
rpm -ql /home/bob/foobar.rpm
{{../../korrekt|}}
rpm -ql -p /home/bob/foobar.rpm
{{../../gültig|}}
rpm -l /home/bob/foobar.rpm
{{../../gültig|}}
rpm -l -p /home/bob/foobar.rpm
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 237

{{../../Testkopf}}

1.
Which command would you use to list all rpm-packets installed on your system?
rpm --all
{{../../gültig|}}
rpm --show-all
{{../../gültig|}}
rpm -q all
{{../../gültig|}}
rpm -qa
{{../../korrekt|}}
rpm -la
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 238

{{../../Testkopf}}

1.
Which command would you use to set the speed of a serial interface?
setbaud
{{../../gültig|}}
setspeed
{{../../gültig|}}
setserial
{{../../korrekt|}}
setcom
{{../../gültig|}}
set_comport
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 239

{{../../Testkopf}}

1.
Which directory contains the essential commands needed on bootup?
/usr/bin
{{../../gültig|}}
/bin
{{../../korrekt|}}
/etc
{{../../gültig|}}
/boot
{{../../gültig|}}
/lib
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 240

{{../../Testkopf}}

1.
Which file would you edit so that the displaymanager ist started automaticly at boottime?
/etc/inittab
{{../../korrekt|}}
/etc/X11/XF86Config
{{../../gültig|}}
/etc/X11/xdm/xdm-config
{{../../gültig|}}
/etc/X11/xdm/Xsession
{{../../gültig|}}
/etc/X11/xdm/Xstartup
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 241

{{../../Testkopf}}

1.
Which flag would you use with setserial to enable 115 KBit for a serial port?
spd_hi
{{../../gültig|}}
spd_vhi
{{../../korrekt|}}
spd_shi
{{../../gültig|}}
spd_warp
{{../../gültig|}}
spd_115
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 242

{{../../Testkopf}}

1.
Which harddisks should be used in LBA-mode?
Harddisks with more than 1024 cylinders
{{../../korrekt|}}
Harddisks with more than 1.2 GByte
{{../../gültig|}}
Harddisks capable of UDMA66
{{../../gültig|}}
IDE-harddisks which are used as master
{{../../gültig|}}
IDE-harddisks which are used as slave
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 243

{{../../Testkopf}}

1.
Which of the following commands could be used to detect the kind of USB controller of your computer?
getusbinfo
{{../../gültig|}}
usbinfo
{{../../gültig|}}
usb-info
{{../../gültig|}}
usb_info
{{../../gültig|}}
lspci
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 244

{{../../Testkopf}}

1.
Which of the following commands could you use to copy all regular files in the current directory to /tmp?
copy *.* /tmp
{{../../gültig|}}
copy * /tmp
{{../../gültig|}}
cp * /tmp
{{../../korrekt|}}
cp *.* /tmp
{{../../gültig|}}
cp --all /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 245

{{../../Testkopf}}

1.
Which of the following commands could you use to copy all hidden files from the current directory to /tmp?
copy *.* /tmp
{{../../gültig|}}
copy .* /tmp
{{../../gültig|}}
cp * /tmp
{{../../gültig|}}
cp .* /tmp
{{../../korrekt|}}
cp *.* /tmp
{{../../gültig|}}
cp --hidden /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 246

{{../../Testkopf}}

1.
Which of the following commands results in mailing the content of the current directory to Bob?
mail Bob > ls
{{../../gültig|}}
ls > mail Bob
{{../../gültig|}}
ls || mail Bob
{{../../gültig|}}
ls | mail Bob
{{../../korrekt|}}
mail Bob ls
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 247

{{../../Testkopf}}

1.
Which of the following regular expressions fits all words, starting with an uppercase letter and ending with an d (using grep)?
[A-Z]*d
{{../../gültig|}}
[A-Z].*d
{{../../gültig|}}
[A-Z]..d
{{../../gültig|}}
\b[A-Z]*d\b
{{../../gültig|}}
\b[A-Z].*d\b
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 248

{{../../Testkopf}}

1.
Which of the following statements concerning locate is true?
locate can find any file in the system which was created before the last call of updatedb
{{../../korrekt|}}
locate can find only program files inside the searchpath (PATH)
{{../../gültig|}}
locate is used to locate manpages inside the MANPATH
{{../../gültig|}}
locate can find any file in the system which was created after the last call of updatedb
{{../../gültig|}}
locate is used to find the original file of a hard or symbolic link
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 249

{{../../Testkopf}}

1.
Which program is used to determine which shared libraries are used by a particular other program?
ldconfig
{{../../gültig|}}
libinfo
{{../../gültig|}}
info
{{../../gültig|}}
ldd
{{../../korrekt|}}
ld.so
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 250

{{../../Testkopf}}

1.
Which programm is used to maintain the file /etc/ld.so.cache?
ld.so
{{../../gültig|}}
ldcache
{{../../gültig|}}
ldd
{{../../gültig|}}
ldconfig
{{../../korrekt|}}
libconf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 251

{{../../Testkopf}}

1.
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?
This is a typical filesystem error on ext2 partitions.
{{../../gültig|}}
A user has created lots of very small files.
{{../../korrekt|}}
The inode table is corrupted.
{{../../gültig|}}
There are lots of cross-linked files.
{{../../gültig|}}
The report of many megabytes free space is wrong due to an overflow of the 32 Bit Free-Space-Variable.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 252

{{../../Testkopf}}

1.
Why is it usefull to have a separate partition for the /boot Directory?
Every computer on the net could use the same booting information
{{../../gültig|}}
The /boot directory should be backuped daily
{{../../gültig|}}
A separate boot partition can be placed below the 1024st cylinder
{{../../korrekt|}}
If the /boot directory would be placed in the root partition, it's content could be destroyed during the recovery process
{{../../gültig|}}
It is not possible to have a separate boot partition
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 253

{{../../Testkopf}}

1.
You (as a normal user) have created a new file named foo inside /tmp. But if you try to find this file using the command locate foo there is no result. What is the reason?
The /tmp directory is not searched by locate
{{../../gültig|}}
locate only looks for commands inside the searchpath of the shell (PATH)
{{../../gültig|}}
Only the superuser (root) may use locate in /tmp
{{../../gültig|}}
locate only searches the system-database. The command will work after the next run of updatedb.
{{../../korrekt|}}
You have no search-permission for /tmp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 254

{{../../Testkopf}}

Syntaxfehler
1.
You are the system administrator of a RedHat box. After checking your system, you found a file named foobar. What command would you use to get the information from which rpm packet this file was installed?
rpm -qf foobar
{{../../korrekt|}}
rpm -q -f foobar
{{../../korrekt|}}
rpm -l foobar
{{../../gültig|}}
rpm -ql foobar
{{../../gültig|}}
rpm -qL foobar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 255

{{../../Testkopf}}

1.
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
{{../../gültig|}}
:s
{{../../gültig|}}
:x
{{../../korrekt|}}
:q
{{../../gültig|}}
:q!
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 256

{{../../Testkopf}}

1.
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?
7l
{{../../gültig|}}
7L
{{../../gültig|}}
l7
{{../../gültig|}}
7h
{{../../korrekt|}}
h7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 257

{{../../Testkopf}}

1.
You create a hard link bar which points to the file foo. If you remove the file foo, what happens?
The link is automaticly removed, too
{{../../gültig|}}
The link exists but any access would lead to an error
{{../../gültig|}}
The link exists and it is possible to have access to it's content
{{../../korrekt|}}
The link is automaticly changed into a regular file with the content of foo.
{{../../gültig|}}
The link but not the file was removed.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 258

{{../../Testkopf}}

1.
You create a isapnp.conf file using the pnpdump command. When do you have to call isapnp to read this file?
The first time after you have installed the new card
{{../../gültig|}}
Every time you want to access the card
{{../../gültig|}}
Once a day, using cron
{{../../gültig|}}
Every time you start the computer
{{../../korrekt|}}
Never
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 259

{{../../Testkopf}}

1.
You create a symbolic link bar which points to the file foo. If you remove the file foo, what happens?
The link is automaticly removed, too
{{../../gültig|}}
The link exists but any access would lead to an error
{{../../korrekt|}}
The link exists and it is possible to have access to it's content
{{../../gültig|}}
The link is automaticly changed into a regular file with the content of foo.
{{../../gültig|}}
The link but not the file was removed.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 260

{{../../Testkopf}}

1.
You detect a Compaq USB controller in your computer. Which USB module would you load to use this controller?
usb-via
{{../../gültig|}}
usb-ohci
{{../../korrekt|}}
usb-uhci
{{../../gültig|}}
usb-intel
{{../../gültig|}}
usb-compaq
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 261

{{../../Testkopf}}

1.
You detect a VIA USB controller in your computer. Which USB module would you load to use this controller?
usb-via
{{../../gültig|}}
usb-ohci
{{../../gültig|}}
usb-uhci
{{../../korrekt|}}
usb-intel
{{../../gültig|}}
usb-compaq
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 262

{{../../Testkopf}}

1.
You have created a new directory named /foo and now you have copied the two files bar and foobar into this new directory. Now you mount a floppy onto /foo using the command mount /dev/fd0 /foo What happens to the two files foobar and foo if you would use the command rm -rf /foo/* and then umount /foo
They are removed
{{../../gültig|}}
They are removed but you can restore them
{{../../gültig|}}
It isn't possible to mount a floppy in a non empty directory
{{../../gültig|}}
Nothing. They are still there
{{../../korrekt|}}
The names appear in the directory but the inodes are deleted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 263

{{../../Testkopf}}

1.
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
{{../../gültig|}}
run ldconfig
{{../../gültig|}}
edit /etc/ld.so.conf to add the new library path and then run ldconfig
{{../../korrekt|}}
edit /etc/ld.so.conf to add the new library path and then run ld.so
{{../../gültig|}}
create symbolic links from every library in /usr/local/foobar/lib to /usr/lib
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 264

{{../../Testkopf}}

1.
You have to move the whole directory-tree /home/foo to /oldusers. What command would you use?
move /home/foo /oldusers
{{../../gültig|}}
mv /home/foo /oldusers
{{../../korrekt|}}
mv -r /home/foo /oldusers
{{../../gültig|}}
mv -R /home/foo /oldusers
{{../../gültig|}}
cp --move /home/foo /oldusers
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 265

{{../../Testkopf}}

1.
You have two program files named foo. One of them is located in /usr/local/bin and the other in /usr/X11R6/bin. How can you find out, which of the both commands would be used, when you just type the command foo?
find / -exec foo
{{../../gültig|}}
find / -name foo
{{../../gültig|}}
find /usr -exec foo
{{../../gültig|}}
locate foo
{{../../gültig|}}
which foo
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 266

{{../../Testkopf}}

1.
You started an X-application with the parameter -display foo:0 but you get the message "Can't open display". What is the reason?
foo is not known, try it with it's IP-address
{{../../gültig|}}
you have to use foo:1 instead of foo:0
{{../../gültig|}}
you must run the command "xhost foo" before the above command
{{../../gültig|}}
you must run "xhost yourcomputer" on foo before the above command
{{../../korrekt|}}
you must be root to display something on other computer's screen
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 267

{{../../Testkopf}}

1.
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.h
{{../../gültig|}}
targets
{{../../gültig|}}
configure
{{../../gültig|}}
Makefile
{{../../korrekt|}}
.config
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 268

{{../../Testkopf}}

1.
You want to deinstall a rpm packet foobar from your system. What would be a proper command?
remove foobar
{{../../gültig|}}
remove foobar.rpm
{{../../gültig|}}
rpm remove foobar
{{../../gültig|}}
rpm -e foobar
{{../../korrekt|}}
deinstall foobar
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 269

{{../../Testkopf}}

1.
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 --dep foobar
{{../../gültig|}}
rpm -q --requires foobar
{{../../korrekt|}}
rpm -q --list-deps foobar
{{../../gültig|}}
rpm -d foobar
{{../../gültig|}}
grep foobar /var/rpm/deps
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 270

{{../../Testkopf}}

1.
You want to force a user to create files with a permission mode of 600. How would you set the umask?
umask 600
{{../../gültig|}}
umask 700
{{../../gültig|}}
umask 077
{{../../korrekt|}}
umask 177
{{../../korrekt|}}
umask 770
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 271

{{../../Testkopf}}

1.
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
{{../../gültig|}}
Enter the hardware parameters in /etc/pnp
{{../../gültig|}}
Use isapnp and pnpdump
{{../../korrekt|}}
Enter the correct settings in /etc/pnp.conf
{{../../gültig|}}
Linux is not able to use Plug and Play Cards
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 272

{{../../Testkopf}}

1.
You want to install a Linux-Server without keyboard. What of the following is necessary to avoid error messages during startup?
Create an empty file /etc/nokeyb
{{../../gültig|}}
Load the module nokeyb.o
{{../../gültig|}}
Configure the CMos-Setup "Halt on" to "All but keyboard"
{{../../korrekt|}}
Enter an entry "alias keyboard off" in /etc/modules.conf
{{../../gültig|}}
Nothing
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 273

{{../../Testkopf}}

1.
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?
alien --to-deb foobar.rpm
{{../../korrekt|}}
rpmtodeb foobar.rpm
{{../../gültig|}}
rpm2deb foobar.rpm
{{../../gültig|}}
pcktconv --to-deb foobar.rpm
{{../../gültig|}}
pcktconv -o foobar.deb foobar.rpm
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 274

{{../../Testkopf}}

1.
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?
install /home/bob/foobar.rpm
{{../../gültig|}}
rpminst /home/bob/foobar.rpm
{{../../gültig|}}
rpm -i /home/bob/foobar.rpm
{{../../korrekt|}}
rpm -e /home/bob/foobar.rpm
{{../../gültig|}}
instrpm /home/bob/foobar.rpm
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 275

{{../../Testkopf}}

1.
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?
install /home/bob/foobar.deb
{{../../gültig|}}
apt-get install /home/bob/foobar.deb
{{../../gültig|}}
debinst -f /home/bob/foobar.deb
{{../../gültig|}}
dpkg -i /home/bob/foobar.deb
{{../../korrekt|}}
dselect /home/bob/foobar.deb
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 276

{{../../Testkopf}}

1.
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
{{../../gültig|}}
-display:bar:0
{{../../gültig|}}
-display bar
{{../../gültig|}}
-display bar:0
{{../../korrekt|}}
-display=bar:0
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 277

{{../../Testkopf}}

1.
You want to transport a file named foo from one computer to another. The only media available for transport are floppy-disks. Unfortunately the size of the file is about 10 Megabytes. Which of the following commands could you use to solve the problem?
cat --split 1.4M foo
{{../../gültig|}}
splitf 1440k foo
{{../../gültig|}}
split -b 1440k foo
{{../../korrekt|}}
cut -b1440k foo
{{../../gültig|}}
chunk --size=1440k -f foo
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 278

{{../../Testkopf}}

1.
You want to use apt-get to install new debian packets from http://ftp.us.debian.org. Where would you enter the new source?
/var/lib/apt/sources
{{../../gültig|}}
/var/lib/apt-get/sources
{{../../gültig|}}
/etc/apt/sources.list
{{../../korrekt|}}
/etc/apt/sources
{{../../gültig|}}
/etc/apt/apt.conf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 279

{{../../Testkopf}}

1.
You want your X-server to use an existing fontserver foobar.mydomain.com. What file would you edit to get this done?
/etc/X11/fs.conf
{{../../gültig|}}
/etc/X11/xfs.conf
{{../../gültig|}}
/etc/X11/fs/xfs.options
{{../../gültig|}}
/etc/X11/fontserver
{{../../gültig|}}
/etc/X11/XF86Config
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 280

{{../../Testkopf}}

1.
You want your users to be able to mount the CD-Rom on /dev/hdc. What is the right way to enable them?
Change the file permissions of /dev/hdc so that all users can write to this file.
{{../../gültig|}}
Add the SUID-Bit to the /bin/mount command
{{../../gültig|}}
Add the appropriate usernames to /etc/mountusers
{{../../gültig|}}
Add the entry "user,noauto" to the options of the filesystem in /etc/fstab
{{../../korrekt|}}
Add the entry "may_mount(/dev/hdc)" into the users line inside /etc/passwd
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 281

{{../../Testkopf}}

1.
You've bought a new harddisk and installed it in your Linux box as master on the second IDE-channel. After partitioning it into two primary partitions and creating filesystems on both partitions, you want to ensure, that both new partitions will be mounted automatically on bootup. What is to do?
Add an entry for /dev/hdc1 and /dev/hdc2 to /etc/mtab
{{../../gültig|}}
Add an entry for /dev/hdc to /etc/mtab
{{../../gültig|}}
Add an entry for /dev/hdc1 and /dev/hdc2 to /etc/fstab
{{../../korrekt|}}
Add an entry for /dev/hdc to /etc/fstab
{{../../gültig|}}
Nothing. The system looks up all partitions at bootup
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 282

{{../../Testkopf}}

1.
You've started three jobs in the background. Now you would like to bring one particular of them into the foreground again. How could you do it?
Get the list of jobs using the jobs-command and then use fg jobID
{{../../korrekt|}}
Switch through all background-jobs using the Ctrl-Tab key
{{../../gültig|}}
Get the list of jobs using the jobs-command and then use kill -STFG PID
{{../../gültig|}}
Use the command fg jobname
{{../../gültig|}}
Get the list of jobs using the jobs-command and then use jobname |
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 283

{{../../Testkopf}}

1.
What default permissions should the /tmp directory have
0755
{{../../gültig|}}
0777
{{../../gültig|}}
1777
{{../../korrekt|}}
4755
{{../../gültig|}}
0666
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 284

{{../../Testkopf}}

1.
You have installed an old extension card. What system resources can cause conflicts during installing and configuring of old hardware devices?
DMA
{{../../korrekt|}}
IRQ
{{../../korrekt|}}
I/O address
{{../../korrekt|}}
System timer
{{../../gültig|}}
MAC address
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 285

{{../../Testkopf}}

1.
You do an upgrade on your linux workstation replacing a hard drive, processor, floppy drive, and power supply. After the upgrade your floppy drive no longer seems to be working, and the light on the floppy drive is constantly on. What is the most likely problem?
the floppy cable is upside down
{{../../korrekt|}}
the floppy drive is defective
{{../../gültig|}}
the power supply is defunctioning
{{../../gültig|}}
the processor isn't compatible with the floppy drive
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 286

{{../../Testkopf}}

1.
Before you start creating directories on a newly created file system, what should you do?
check the base system's umask setting
{{../../korrekt|}}
check the base system's CMOS setting
{{../../gültig|}}
check the base system's init stage setting
{{../../gültig|}}
check the base system's process ID setting
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 287

{{../../Testkopf}}

1.
If Leon installs an old network card and reboots his machine to find out that the network card and the printer are non-operational; which IRQ is more than likely causing the conflict?
2
{{../../gültig|}}
3
{{../../gültig|}}
4
{{../../gültig|}}
7
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 288

{{../../Testkopf}}

1.
A user notices his computer is running slow. He wants to see which processes are taking up the most resources. What command would he type to quickly figure this out?
ps
{{../../gültig|}}
ps aux
{{../../gültig|}}
ps aux|less
{{../../gültig|}}
top
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 289

{{../../Testkopf}}

1.
What allows devices to communicate with the CPU to get a task processed
IRQ
{{../../korrekt|}}
DMA
{{../../gültig|}}
EDO
{{../../gültig|}}
RAM
{{../../gültig|}}
AGP
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 290

{{../../Testkopf}}

1.
What bus architecture provides a 16-bit data bus?
ISA
{{../../korrekt|}}
AGP
{{../../gültig|}}
VLB
{{../../gültig|}}
PCI
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 291

{{../../Testkopf}}

1.
You have your host reinstalled from scratch with only the most essential programs. Now you are searching for the tool "sndconfig". Where should you probably find it, because it was written originally for its distribution:
RedHat
{{../../korrekt|}}
SuSE
{{../../gültig|}}
Debian
{{../../gültig|}}
Corel
{{../../gültig|}}
mandrake
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 292

{{../../Testkopf}}

1.
If you want your system to be FHS-compliant, what directories are NOT requested to be located in the /usr/local directory
bin
{{../../gültig|}}
lib
{{../../gültig|}}
man
{{../../gültig|}}
sbin
{{../../gültig|}}
boot
{{../../korrekt|}}
home
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 293

{{../../Testkopf}}

1.
You want to install another modem at you serial lines. To see what I/O addresses already are in use you may have a look at the pseudo file (give full path and name)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 294

{{../../Testkopf}}

1.
You want to install another modem at you serial lines. To see what IRQ channels already are in use you may have a look at the pseudo file (give full path and name)

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 295

{{../../Testkopf}}

1.
You are the sysadmin and you want access your Linux box remotely. Which of the following should you use to accomplish this?
ftp
{{../../gültig|}}
ppp
{{../../gültig|}}
rlogin
{{../../gültig|}}
ssh
{{../../korrekt|}}
telnet
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 296

{{../../Testkopf}}

1.
Which of the following is NOT true about Minix?
It can fit on a floppy disk
{{../../gültig|}}
It can be used as a router
{{../../gültig|}}
It's default X environment is GNOME
{{../../korrekt|}}
It is a small OS
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 297

{{../../Testkopf}}

1.
What bus architecture provides a 32 or 64-bit data bus?
ISA
{{../../gültig|}}
EISA
{{../../gültig|}}
AGP
{{../../gültig|}}
PCI
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 298

{{../../Testkopf}}

1.
What command should you use to set your second serial line to IRQ 3 on io-port 02E8 for use with mgetty
setserial /dev/ttyS1 port 0x02e8 irq 3
{{../../korrekt|}}
setserial /dev/ttyS2 port 0x02e8 irq 3
{{../../gültig|}}
setserial /dev/ttyS1 --port=0x02e8 --irq=3
{{../../gültig|}}
setserial /dev/ttyS2 --port=0x02e8 --irq=3
{{../../gültig|}}
setserial /dev/ttyS1 -p 02e8 -i 3
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 299

{{../../Testkopf}}

1.
What device is used to connect a computer with another computer through the telephone line?
Modem
{{../../korrekt|}}
Network interface card
{{../../gültig|}}
Telephone adapter
{{../../gültig|}}
GPM transceiver
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 300

{{../../Testkopf}}

1.
You are asked to help an user. He has several user accounts he uses on his Linux workstation. He frequently switched back and forth between these accounts. He has overwritten the variables PS1 and PS2. And now he has no idea who he was logged in as. What is the quickest way for him to figure this out.
who
{{../../gültig|}}
whoami
{{../../korrekt|}}
user
{{../../gültig|}}
users
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 301

{{../../Testkopf}}

1.
You suspect that your pppd daemon is out of date. What command (without path) and what option can you use, to find out the version of the pppd daemon you're using

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 302

{{../../Testkopf}}

1.
Your ISP "xyz" has given you a new password to be used with your ppp connection. What file should you edit to enter the new password
/etc/chatscripts/xyz
{{../../korrekt|}}
/etc/chatscripts/provider
{{../../gültig|}}
/etc/ppp/peers/provider
{{../../gültig|}}
/etc/ppp/peers/xyz
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 303

{{../../Testkopf}}

1.
All of the following can be attached directly to an USB port except which of it?
CD-ROM
{{../../gültig|}}
CD-RW
{{../../gültig|}}
keyboard
{{../../gültig|}}
PS/2 mouse
{{../../korrekt|}}
NIC
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 304

{{../../Testkopf}}

1.
You have trouble to connect to your IPS provider. Which file should you edit?
/etc/ppp/peers/provider
{{../../korrekt|}}
/etc/ppp/provider
{{../../gültig|}}
/etc/peers/ppp
{{../../gültig|}}
/ppp/peers/provider
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 305

{{../../Testkopf}}

1.
What possibilities do you have to fix a computer whose IDE controller has gone bad?
Install a hard drive with a built in controller.
{{../../gültig|}}
Install an IDE controller card.
{{../../korrekt|}}
Replace the motherboard.
{{../../korrekt|}}
Replace the hard drive.
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 306

{{../../Testkopf}}

1.
A video card can NOT be which of the following types of devices?
PCI
{{../../gültig|}}
USB
{{../../korrekt|}}
ISA
{{../../gültig|}}
AGP
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 307

{{../../Testkopf}}

1.
You use an old model of 586 computer. You have set the speed of your first serial line to 115200 Baud. But other hosts cannot connect via the serial line. What may be the reason
your computer doesn't have a 16550 UART chips installed
{{../../korrekt|}}
your computer must run in turbo mode
{{../../gültig|}}
the connection must be established using X-modem cable
{{../../gültig|}}
the serial line has only 9600 Baud as its highest speed
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 308

{{../../Testkopf}}

1.
The SCSI_ID variable has how many fields?
2
{{../../gültig|}}
3
{{../../korrekt|}}
4
{{../../gültig|}}
5
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 309

{{../../Testkopf}}

1.
What command (without path and options) determines which pieces of a large program need to be recompiled and issues the commands to recompile them when necessary.

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 310

{{../../Testkopf}}

1.
Which of the following opens the specified SCSI device file and retrieves its actual SCSI address parameters?
scsi_info
{{../../korrekt|}}
scsi_dev
{{../../gültig|}}
scsiinfo
{{../../gültig|}}
scsi_conf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 311

{{../../Testkopf}}

1.
A user ask you togive a hint. He has a file called "college_resume". He wants to rename this to just "resume". Which of the following commands should he type?
cp resume college_resume
{{../../gültig|}}
cp college_resume resume
{{../../gültig|}}
mv resume college_resume
{{../../gültig|}}
mv college_resume resume
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 312

{{../../Testkopf}}

1.
In most cases, a system running SCSI disks would have its channel and logical unit set to:
0
{{../../korrekt|}}
1
{{../../gültig|}}
A
{{../../gültig|}}
Enabled
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 313

{{../../Testkopf}}

1.
Which of the following correctly describe a Monolithic Kernel
it is built into one single binary.
{{../../korrekt|}}
it is loaded completely into memory at boot time.
{{../../korrekt|}}
it is bootable from read-only devices (like CD-ROM or Floppy) only
{{../../gültig|}}
None of the choices
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 314

{{../../Testkopf}}

1.
How would you configure your parallel port setting to support ECP or EPP?
Through the CMOS
{{../../korrekt|}}
Through the manufacturer
{{../../gültig|}}
Through the DOS command prompt
{{../../gültig|}}
Through your ISP
{{../../gültig|}}
Through the BIOS and POST
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 315

{{../../Testkopf}}

1.
You are logged in as the root admin to your workstation. You get up from your desk for a few minutes to use the restroom. When you come back to your desk you suspect there may have been some foul play on your computer. What command can you use to find out all of the recent commands that have been typed on your computer?
dir
{{../../gültig|}}
dd
{{../../gültig|}}
grep
{{../../gültig|}}
history
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 316

{{../../Testkopf}}

1.
Most serial line modems can be configured by:
sending AT commands
{{../../korrekt|}}
sending ATR commands
{{../../gültig|}}
sending RTS commands
{{../../gültig|}}
sending MAT commands
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 317

{{../../Testkopf}}

1.
What does the command "ps -eo pid,cmd" show
the PID and commandline of processes
{{../../korrekt|}}
the processes with PID and commandline separated by comma
{{../../gültig|}}
the processes WITHOUT the fields for PID and command line
{{../../gültig|}}
the executing only processes (e.g. no waiting or idle processes) with PID and commandline
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 318

{{../../Testkopf}}

1.
Which files in the users home directory are read by a login shell (bash)?
~/.bash_profile
{{../../korrekt|}}
~/.bashrc
{{../../korrekt|}}
~/.bash_login
{{../../korrekt|}}
~/.profile
{{../../korrekt|}}
~/.bash.profile
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 319

{{../../Testkopf}}

1.
Which of the following protocols can be used to authenticate a ppp client to a ppp server?
chat
{{../../gültig|}}
CHAP
{{../../korrekt|}}
PPP-AUTH
{{../../gültig|}}
PAP
{{../../korrekt|}}
pppd
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 320

{{../../Testkopf}}

1.
You have to add some additional kernel parameters for a scsi hostadapter which is hardcoded into the kernel. Where can you enter the parameters so that the kernel knows them during boot?
add the parameters to the kernel file using the >> redirection
{{../../gültig|}}
in the file /etc/lilo.conf, using the parameter=... direcive
{{../../gültig|}}
in the file /etc/lilo.conf using the append=... directive
{{../../korrekt|}}
at the boot prompt
{{../../korrekt|}}
in the file /etc/modules.conf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 321

{{../../Testkopf}}

1.
You have to add some additional kernel parameters for a scsi hostadapter which is supported by a loadable module. Where can you enter this parameters so that they are known by modprobe?
at the boot prompt
{{../../korrekt|}}
in the file /etc/lilo conf
{{../../korrekt|}}
in the file /lib/modules/$(uname -r)/parameters
{{../../gültig|}}
in the file /etc/modules.conf
{{../../korrekt|}}
in the file /etc/grub.conf
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 322

{{../../Testkopf}}

1.
You want to built a new kernel from your own. After installing the kernel sources the next step is to configure the kernel. What command inside the kernel directory can you use to configure the kernel?
make config
{{../../korrekt|}}
./configure
{{../../gültig|}}
make menuconfig
{{../../korrekt|}}
make xconfig
{{../../korrekt|}}
make configure
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 323

{{../../Testkopf}}

1.
You want to monitor the file /var/log/messages. What programs can be used even to watch newly incoming messages?
cat
{{../../gültig|}}
tail
{{../../korrekt|}}
head
{{../../gültig|}}
less
{{../../korrekt|}}
more
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 324

{{../../Testkopf}}

1.
How can you add the directory /usr2/bin to the enviroment variable PATH in the bash shell?
PATH=/usr2/bin
{{../../gültig|}}
$PATH=/usr2/bin
{{../../gültig|}}
PATH=$PATH:/usr2/bin
{{../../korrekt|}}
PATH=PATH:/usr2/bin
{{../../gültig|}}
$PATH=$PATH:/usr2/bin
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 325

{{../../Testkopf}}

1.
How can you assign the content of the enviroment variable PATH to the enviroment variable MYPATH in the bash shell?
MYPATH=PATH
{{../../gültig|}}
MYPATH=$PATH
{{../../korrekt|}}
$MYPATH=PATH
{{../../gültig|}}
$MYPATH=$PATH
{{../../gültig|}}
let MYPATH=$PATH
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 326

{{../../Testkopf}}

1.
How can you assign the result of the calculation 5 + 4 to the enviroment variable SUM in the bash shell?
set SUM=5+4
{{../../gültig|}}
set $SUM=5+4
{{../../gültig|}}
let SUM=5+4
{{../../korrekt|}}
let $SUM=5+4
{{../../gültig|}}
SUM=5+4
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 327

{{../../Testkopf}}

1.
How can you read the contents of the enviroment variable PATH in the bash shell?
print PATH
{{../../gültig|}}
print $PATH
{{../../gültig|}}
echo PATH
{{../../gültig|}}
echo $PATH
{{../../korrekt|}}
echo %PATH%
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 328

{{../../Testkopf}}

1.
How can you set the CMos Clock in your computer?
Use "date -s MMDDhhmm"
{{../../gültig|}}
Use "date --systohc MMDDhhmm"
{{../../gültig|}}
use "hwclock MMDDhhmm"
{{../../gültig|}}
Use "hwclock --systohc"
{{../../korrekt|}}
There is no command to do this. You have to enter the setup during boot and set it manually
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 329

{{../../Testkopf}}

1.
What format uses the file /etc/passwd ?
UID:Password:GID:Username:Comment:Homedir:Shell
{{../../gültig|}}
Username:Password:UID:GID:Comment:Homedir:Shell
{{../../korrekt|}}
Username:UID:GID:Password:Homedir:Shell:Comment
{{../../gültig|}}
Username:Password:UID:GID:Shell:Homedir:Comment
{{../../gültig|}}
Username:Password:UID:GID:Homedir:Shell:Comment
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 330

{{../../Testkopf}}

1.
What is the file in which the default settings for shell variables are made for all users (bash)?
/etc/bash.conf
{{../../gültig|}}
/etc/profile
{{../../korrekt|}}
/etc/bashrc
{{../../gültig|}}
~/.bash
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 331

{{../../Testkopf}}

1.
Which of the following commands is NOT provided with linux?
lsmod
{{../../gültig|}}
lsdev
{{../../gültig|}}
lsagp
{{../../korrekt|}}
lsof
{{../../gültig|}}
lspci
{{../../gültig|}}
lspnp
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 332

{{../../Testkopf}}

1.
Which is the command to delete the enviroment variable FOO from the current enviroment in the bash shell?
delete $FOO
{{../../gültig|}}
destroy FOO
{{../../gültig|}}
unset FOO
{{../../korrekt|}}
FOO=
{{../../gültig|}}
rm -rf $FOO
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 333

{{../../Testkopf}}

1.
How many fields has an entry in the file /etc/fstab?
2
{{../../gültig|}}
4
{{../../gültig|}}
5
{{../../gültig|}}
6
{{../../korrekt|}}
7
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 334

{{../../Testkopf}}

1.
You want to know the filesystems mountable through the file /etc/fstab. What command gives you that information?
grep "/dev/" /etc/fstab
{{../../gültig|}}
cut -f1 -d" " /etc/fstab
{{../../gültig|}}
cut -f1 /etc/fstab
{{../../gültig|}}
cut -f1 /etc/fstab | grep -v ^#$
{{../../gültig|}}
grep -v ^# /etc/fstab | cut -f1 -d" "
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 335

{{../../Testkopf}}

1.
What meaning has the 1st field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../gültig|}}
describes the mount options
{{../../gültig|}}
describes the type of the filesystem
{{../../gültig|}}
defines the order of checking the filesystem
{{../../gültig|}}
describes the mount point
{{../../gültig|}}
describes the local device or remote filesystem to be mounted
{{../../korrekt|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 336

{{../../Testkopf}}

1.
What meaning has the 2nd field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../gültig|}}
describes the mount options
{{../../gültig|}}
describes the type of the filesystem
{{../../gültig|}}
defines the order of checking the filesystem
{{../../gültig|}}
describes the mount point
{{../../korrekt|}}
describes the local device or remote filesystem to be mounted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 337

{{../../Testkopf}}

1.
What meaning has the 3th field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../gültig|}}
describes the mount options
{{../../gültig|}}
describes the type of the filesystem
{{../../korrekt|}}
defines the order of checking the filesystem
{{../../gültig|}}
describes the mount point
{{../../gültig|}}
describes the local device or remote filesystem to be mounted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 338

{{../../Testkopf}}

1.
What meaning has the 4th field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../gültig|}}
describes the mount options
{{../../korrekt|}}
describes the type of the filesystem
{{../../gültig|}}
defines the order of checking the filesystem
{{../../gültig|}}
describes the mount point
{{../../gültig|}}
describes the local device or remote filesystem to be mounted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 339

{{../../Testkopf}}

1.
What meaning has the 6th field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../gültig|}}
describes the mount options
{{../../gültig|}}
describes the type of the filesystem
{{../../gültig|}}
defines the order of checking the filesystem
{{../../korrekt|}}
describes the mount point
{{../../gültig|}}
describes the local device or remote filesystem to be mounted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 340

{{../../Testkopf}}

1.
What meaning has the 5th field of an entry in the file /etc/fstab?
determine if the filesystem needs to be dumped
{{../../korrekt|}}
describes the mount options
{{../../gültig|}}
describes the type of the filesystem
{{../../gültig|}}
defines the order of checking the filesystem
{{../../gültig|}}
describes the mount point
{{../../gültig|}}
describes the local device or remote filesystem to be mounted
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 341

{{../../Testkopf}}

1.
You have the "ext3" filesystem on your logical partition at the master disc of your secondIDE channel. You want to check this filesystem. What command should you use?
e2fsck /dev/hdc5
{{../../korrekt|}}
e2fsck /dev/hdb5
{{../../gültig|}}
e2fsck /dev/hdb2
{{../../gültig|}}
e2fsck /dev/hdc2
{{../../gültig|}}
e3fsck /dev/hdc5
{{../../gültig|}}
e3fsck /dev/hdb5
{{../../gültig|}}
e3fsck /dev/hdb2
{{../../gültig|}}
e3fsck /dev/hdc2
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 342

{{../../Testkopf}}

1.
You want to check your filesystem in a non-interactive way. What parameter should you use with fsck?
--quiet
{{../../gültig|}}
yes
{{../../gültig|}}
-y
{{../../korrekt|}}
-auto
{{../../gültig|}}
-self
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 343

{{../../Testkopf}}

1.
You have your kernel compiled with quota support. You have the user's home directories on an own partition. You have this partition mounted at /home. You have the neccessary options provided in your /etc/fstab. You did run the command "quotaon -a". But the limitation does not work. What may be the reason?
The file "/home/quota.user" and "/home/quota.group" are missing
{{../../korrekt|}}
You can not handle quotas for all users simultaniously. There should be one partition per user
{{../../gültig|}}
The command you should run is: "quotaon /home"
{{../../gültig|}}
Your users are dynamically changing the disc space needed, so that one user has more disc space available than some other
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 344

{{../../Testkopf}}

1.
What options you must provide in /etc/fstab to enable quota for all users of the filesystem mounted at /home
usrquota,grpquota
{{../../korrekt|}}
userquota,groupquota
{{../../gültig|}}
quota
{{../../gültig|}}
discquota
{{../../gültig|}}
quotaon
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 345

{{../../Testkopf}}

1.
You want to check all your filesystems specified in /etc/fstab. What option should you use with fsck?
-A
{{../../korrekt|}}
-a
{{../../gültig|}}
-all
{{../../gültig|}}
-auto
{{../../gültig|}}
--file /etc/fstab
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 346

{{../../Testkopf}}

1.
What command should you use to unmount all mounted ext2 filesystems?
umount -a -t ext2
{{../../korrekt|}}
umount -at ext2
{{../../korrekt|}}
umount -a -ext2
{{../../gültig|}}
umount -t ext2
{{../../gültig|}}
umount -o ext2
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 347

{{../../Testkopf}}

1.
What command should you use to unmount all mounted filesystems?
umount -a
{{../../korrekt|}}
unmount -a
{{../../gültig|}}
dmount -a
{{../../gültig|}}
umount -o auto
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 348

{{../../Testkopf}}

1.
What is the mount point of the virtual filesystem giving you information about the kernel's internals?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 349

{{../../Testkopf}}

1.
What is the name of the virtual filesystem giving you information about the kernel's internals?

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

[Bearbeiten] Test 350

{{../../Testkopf}}

1.
You want to have a look at the file "start.sh" contained in the working directory. You have started "vi start.sh" and you want to correct some mistake. You want to know if you are allowed to change the file. What action should you take best?
use the command ":!ls -l start.sh"
{{../../korrekt|}}
use the command ":w!"
{{../../gültig|}}
use the command ":q!"
{{../../gültig|}}
use the command ":q" and then type "chmod +w start.sh"
{{../../gültig|}}

Punkte: 0 / 0

{{../../Testfuß}} {{../../Index|}}

Persönliche Werkzeuge