SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Linux Administration
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Essential system binaries : init - ip - mount
/home
/sbin
ls
143
2. Search for all Unix commands that match keyword - e.g apropos file.
161
21
uptime
apropos
3. Does a DNS lookup or reverse dns lookup
chgrp
host
uptime
df
4. Creates a file / updates it
touch
115
cat {filename}
179
5. Creates a group for users
host
sudo
groupadd
netstat -i
6. SSH
ps
netstat -i
/lib
22
7. DNS
head
25
53
history
8. Report file system disk space usage
df
/opt
ifconfig -a
host
9. Prints file information
stat
mkdir
80
tail
10. Check IP Addresses of active interfaces
ifconfig
/etc
rm
/opt
11. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
/mnt
21
/media
mail
12. Prints current working directory
53
/tmp
pwd
/usr
13. Moves a file with the option of renaming it
mv
top
mail
page {filename}
14. View a text file - Like more - with extra features
ifconfig -a
stat
tail
less {filename}
15. Root directory of file system (not the user root's home dir)
'/'
16. Displays a table of all network interfaces / errors
top
cp
netstat -i
chown
17. Displays calendar
118
161
53
cal
18. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
/proc
stat
uptime
80
19. Displays current date and time
22
date
mv
cat
20. POP3
usermod
110
mkdir
25
21. HTTPS
/etc
43
groupadd
443
22. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
w
killall
/boot
df
23. SQL
179
cp
118
service
24. Mount points for removable media such as CD-ROMs
ping
/media
less {filename}
'/'
25. Checks web connectivity (displays page contents)
/lib
22
curl
more {filename}
26. Displays all current running processes (similar to task manager)
110
/opt
top
/sbin
27. Brings and interface down
w
du
ifdown
nslookup
28. Brings an interface up
history
ifup
/bin
netstat -r
29. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
cat > {filename}
ps
/media
ifconfig
30. View a text file - View file one screen at a time
cat {filename} | more
dig
mail
service
31. Brings the most recent job to the foreground
443
fg
/var/log
history
32. Changes ownership of a file or directory
top
/mnt
118
chown
33. Elevate rights to that of root
ls -a
dig
cat {filename} | more
sudo
34. Display all interfaces
143
ifup
ifconfig -a
groupadd
35. Parses for string
rm
grep
/lib
143
36. SQL
156
ls
23
grep
37. dns lookup
dig
w
top
/dev
38. Reports a snapshot of the current processes
ifdown
/tmp
passwd
ps
39. Downloads a file from the internet
wget
/boot
cat {filename} | more
143
40. IMAP
ifup
apropos
143
464
41. Lists all files within a directory (including hidden)
/usr
cd
usermod
ls -a
42. Telnet
mail
23
more {filename}
43
43. Displays kernel routing tables
netstat -r
tail
464
ls -a
44. Changes group ownership of file or directory
ethtool
service
chgrp
/root
45. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
ifconfig -a
netstat
cd
156
46. Libraries essential for the binaries in /bin/ and /sbin/
nslookup
ifdown
/var
/lib
47. Kills a process by pid
kill
25
ifup
/usr
48. HTTP
/dev
/boot
43
80
49. BGP
179
du
usermod
rm
50. User root's home directory
apropos
/root
43
uptime