Linux Tech Hacks

Your Linux tech hacks and Tips

Think You're A Linux Pro? Take This 35 Question Challenge






You think you are a 'know it all' when it comes to Linux? Well, we bring to you 35 question challenge to test your skills!
Monday, September 23, 2013



You think you know everything about Linux? We bring to you 35
questions based on Linux to test you knowledge. Let's see how big a pro
you are! And beginners can try too as they will end up learning
something new!

Scroll down to the end for the answers, and see how much you score, but do not cheat!

Good luck!




1. Managing foreground and background processes is usually called
job control
process control
job management
program management
process management

2. What information does the minor number tell you?
memory location
specific characteristics of the device
whether device is active
device priority
whether device is a module

3. Data read from the hard disk is stored in the-
disk buffer
buffer cache
swap cache
spool
swap space

4. What command would you use to switch your user ID before running a command?
switch
swtusr
swid
su
suid

5. Sets of linux packages are typically grouped together for easy installation.
True
False

6. The "low-level" operations on the system are generally referred to as what?
library calls
system calls
system functions
kernel calls
driver calls

7. What program converts TCP/IP port numbers to RPC program numbers?
portmapper
lockd
sysd
nfsd
mountd

8. Which of the following is NOT a common networking term.
IP datagram
TCP segment
MAC packet
Ethernet frame
application header

9. What action in /etc/inittab determines what is run when CTRL-ALT-DEL is pressed.
sysreboot
powerdown
shutdown
reboot

10. Virus can typically only affect Linux if the attack the master boot record.
True
False

11. What DNS record type defines the IP address for a specific machine?
DNS
A
NAME
NS
IP

12. What is the highest priority for the system logger daemon?
emergency
warning
failure
error
panic

13. In addition to Ctrl-C, what other key is also used to interrupt programs?
Delete
Escape
CTRL-B
Backspace
^

14. After making changes to you .profile, what command would you issue to activate the changes in your current shell?
reset $HOME/.profile
. $HOME/.profile
$HOME/.profile
touch $HOME/.profile
set $HOME/.profile

15. Information on the running system is found in what directory?
/sbin/proc
/system
/boot/system
/proc
/process

16. What command would be best if you wanted to see the end of a particular file?
perl
tail
head
grep
find

17. Most distributions use which installation package format?
Common Linux Format - CLF
Linux Installation Format - LIF
Common Package Format - CPF
Red Hat Package Manager - RPM
Linux Package Format - LPF

18. Printer configuration information is stored in which directory?
/etc/default/printers
/var/conf/lpd
/usr/adm/lpd
/etc/lpd.conf
/usr/spool/lpd

19. What option to halt says to power off when the system is down?
-r
-k
-p
-n
-P

20. Data read from the harddisk is stored in the
spool
swap cache
swap space
buffer cache
disk buffer

21. What is the process of directing packets to the correct network?
start-up scripts
search path
routing
home directory
directory path
command path

22. Shells are limited to a maximum of 9 positional parameters.
True
False

23. The inode does not contain the file's
size
name
creation date
permissions
owner

24. Both CPU and kernel help ensure that processes do not not access memory they shouldn't.
True
False

25. What file contains text that is displayed before you login?
/etc/profile
/etc/env
/etc/motd
/etc/login
/etc/issue

26.
What command would you use to change the permissions on a file so only
the owner can read and write it and the group can only read it?
chmod 620 FILENAME
chmod 420 FILENAME
chmod 640 FILENAME
chmod go=r-w FILENAME
chmod 750 FILENAME

27. Where is hardware information stored that the system uses when booting?
POST
DMA
CMOS
RAM
PCI

28. What command shows your current terminal settings?
termenv
term
setterm
stty
initterm

29. Preceeding a shell script with a dot when you execute it does what?
Executes the shell without starting a sub-shell.
Increases the priority of the shell.
Executes the shell in the background.
Executes the shell in the user's home directory.
Executes the shell in the root directory.

30. What symbol is used to put a command "in the background"?
!
|
%
$
&

31. What character would you use to negate a range of characters in a regular expression?
%
^
?
!
#
$

32. The command "cd -" does what?
Stores the current directory in a variable.
Changes to the previous directory.
Changes to the parent directory.
Runs the command in the specified directory.
Changes to the user's home directory.

33. What is the portion added to the start of a network packet usually called?
designator
start-pack
frame
lead
header

34. In what order are aliases, functions shell build-in commands and "real" commands evaluated by the shell?
aliases, functions, commands, shell built-ins
shell built-ins, aliases, functions, commands
The order in which they are defined
commands, shell built-ins, aliases, functions
Alphabetically

35. Which of the following is not a metacharacter?
_
?
*
-
[

Answers:

1. job control
2. specific characteristics of the device
3. buffer cache
4. su
5. True
6. system functions
7. portmapper
8. MAC packet
9. ctraltdel
10. True
11. A
12. panic
13. Delete
14. . $HOME/.profile
15. /proc
16. tail
17. Red Hat Package Manager - RPM
18. /usr/spool/lpd
19. -p
20. buffer cache
21. routing
22. False
23. name
24. True
25. /etc/issue
26. chmod 640 FILENAME
27. CMOS
28. stty
29. Executes the shell without starting a sub-shell.
30. &
31. !
32. Changes to the previous directory.
33. header
34. shell built-ins, aliases, functions, commands
35. _

So how much did you score!







Atithya Amaresh, EFYTIMES News Network







Fonte: Think You're A Linux Pro? Take This 35 Question Challenge

Comente com o Facebook:

Nenhum comentário:

Postar um comentário

Siga-nos