This site is 100% ad supported. Please add an exception to adblock for this site.

Linux Test

Terms

undefined, object
copy deck
How could you get the physical SCSI address of /dev/sda ? Using the command scsi-info /dev/sda Using the command scsi_info /dev/sda Using the command scsiinfo /dev/sda Using the command get_scsi_info /dev/sda Using the command lsscsi
Using the command scsi_info /dev/sda
Which flag would you use with setserial to enable 115 KBit for a serial port? spd_hi spd_vhi spd_shi spd_warp spd_115
spd_vhi
Which of the following directories have to be placed on the root partition? /usr /dev /boot /lib /sbin /tmp /etc /var /bin
/dev, /lib, /sbin, /etc and /bin
When do you need to rerun the grub-install command? After every boot After every modification of the grub configuration file After installing a new kernel with a new name in /boot After overwriting the old kernel in /boot with a new one Only the firs
Only the first time after installing GRUB
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 targets configure Makefile .config
Makefile
Which program is used to maintain the file /etc/ld.so.cache? ld.so ldcache ldd ldconfig libconf
ldconfig
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 apt-get install /home/bob/foobar.deb debinst -f /home/bob/foobar.deb dpkg -i /hom
dpkg -i /home/bob/foobar.deb
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 rpm -ql -p /home/bob/foobar.rpm rpm -l /home/bob/foobar.rpm rpm -l -p /home/bob/foobar.rpm
rpm -ql -p /home/bob/foobar.rpm
What command is used to reconfigure a formerly installed debian packet. Enter just the name without path and options.
dpkg-reconfigure
How can you describe the function of the following commands? foo < bar | foobar The command foobar gets its input from the command bar The command foo redirects its output to foobar The command bar writes its output into the file foo The command foo
The command foo redirects its output to foobar
How could you describe the following commandline? foo & bar & foobar The commands foo, bar and foobar are started in the background. The command foo is processed. If it results without error, then bar and foobar are processed. The command foo is proces
The commands foo and bar are started in the background, foobar is started in the foreground
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 All files in the current directory which are smaller than 12 KByte will be copied to /tmp
All files in the current directory and in all included subdirectories which are smaller than 12 KByte will be copied to /tmp.
How could you get the following information: Which GID has the default group of user foo? grep foo /etc/group | cut -d: -f4 grep foo /etc/passwd | cut -d: -f4 defgrp -n foo getuserinfo -gid foo defgrp foo
grep foo /etc/passwd | cut -d: -f4
Which of the following commands could you use to copy all regular files in the current directory to /tmp? Choose the best answer copy *.* /tmp copy * /tmp cp *.* /tmp cp * /tmp cp --all /tmp
cp * /tmp
What command offers you a snapshot of the current processes (just the command - no options)?
ps
What tool could you use to change the nice value of a running process? setpriority renice top ps nice
renice, top
Which of the following tools could be used to search a textfile for a particular searchstring without opening it with an interactive editor? sed find vi ed grep
sed, grep
What statement concerning the following wildcard is correct? [A-Z]\* All files beginning with an uppercase letter followed by one * All files beginning with an non numeric letter All files beginning with an uppercase letter followed by the backslash A
All files beginning with an uppercase letter followed by one *
How could you check the integrity of a non mounted filesystem /dev/hdb7 even if it has a valid cleanflag? hdcheck --force /dev/hdb7 chkdsk /dev/hdb7 fsck /dev/hdb7 fschk -f /dev/hdb7 fsck -f /dev/hdb7
fsck /dev/hdb7
How could you generate a report of the user quota of /home? repquota /home quotarep /home quota --report /home edquota /home quotaed /home
repquota /home
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 EUID of root Everybody who executes this file does this under the EUID of
Everybody who executes this file does this under the EUID of foo
What would be the default file permission modes for new files if you set umask to 027 ? 750 755 640 027 720
640
How could you get the information about the group membership of user foo? getusergrp foo group foo groups foo which groups foo cat /etc/passwd | grep foo
groups foo
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 cp command would ask you whether to create a link or a file T
The destination /tmp/bar is a regular file with the same content as /etc/services
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 locate only looks for commands insid
locate only searches the system-database. The command will work after the next run of updatedb.
What program is used to tune the screen settings after installing X11? tuneX xvidtune video vconfig vtune
xvidtune
Which of the following programs are valid display managers for X11? xdisplaymanager xdm gtkm gdm kdm fdm
xdm, gdm and kdm
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 __________"
foo
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? l7 7l 7[212 7h 7L
7h
uno
dos

Deck Info

30

northernsoul

permalink