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
Subject
:
it-skills
Instructions:
Answer
50
questions in
20 minutes
.
2 minutes extra for reading the instructions.
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. Removes a directory
rmdir
date
/tmp
man
2. Displays the status of a service or all services
kill
service
file
ls -a
3. Essential system binaries : init - ip - mount
/sbin
80
passwd
/bin
4. Downloads a file from the internet
usermod
chown
w
wget
5. DNS
du -a
53
head
kill
6. Moves a file with the option of renaming it
mv
sudo
fg
groupadd
7. Search for all Unix commands that match keyword - e.g apropos file.
mkdir
apropos
cat > {filename}
passwd
8. Displays all file space usage
du -a
/boot
mv
20
9. Prints contains of text file
cat
w
date
cat {filename} | more
10. WHOIS
date
143
wget
43
11. Displays kernel routing tables
464
nslookup
netstat -r
stat
12. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
/sbin
464
cat > {filename}
20
13. Changes password for a user
passwd
23
25
chgrp
14. IMAP
143
chown
cat {filename} | more
25
15. Display all interfaces
ifconfig -a
netstat -i
pico {filename}
ls -a
16. SNMP
w
chgrp
161
sudo
17. View a text file - Use text editor and don't save.
bg
host
pico {filename}
grep '{pattern}' {file}
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
chgrp
ifconfig -a
pico {filename}
19. Shows command history
ls
ps
mv
history
20. Changes directories
cd
/tmp
apropos
page {filename}
21. Creates a file / updates it
443
touch
killall
cat
22. Displays the 10 top lines of a file
head
du -a
man
grep
23. Displays a table of all network interfaces / errors
less {filename}
passwd
ethtool
netstat -i
24. View a text file - Very handy with ncftp.
20
page {filename}
rm
cat {filename}
25. Reports a snapshot of the current processes
115
w
ps
cd
26. Shows who is currently logged in and where
w
rm
less {filename}
netstat
27. Root directory of file system (not the user root's home dir)
'/'
28. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
/dev
cat
/media
/bin
29. Copies a file
'/'
cd
cp
usermod
30. POP3
110
mkdir
tail
head
31. Displays Kernel information
/home
80
uname -a
finger
32. HTTPS
cat {filename}
wget
443
cat
33. View a text file - View file one screen at a time
cat {filename} | more
/bin
115
killall
34. Log files
20
/bin
apropos
/var/log
35. Displays system uptime
fg
uptime
tail
head
36. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
/boot
25
netstat
cal
37. Brings the most recent job to the foreground
/lib
netstat
fg
25
38. Parses for string
/lib
grep
tail
touch
39. Estimate file space usage
/home
23
/usr
du
40. Reverse dns lookup
/etc
file
443
dig-x
41. Configuration for optional installed software
cat {filename} | more
apropos
rm
/opt
42. Displays the 10 bottom lines of a file
22
/dev
/proc
tail
43. Deletes a file
/dev
finger
pico {filename}
rm
44. Test network connectivity
ping
uname -a
464
'/'
45. Brings an interface up
/usr
43
ethtool
ifup
46. View a text file - View file but it scrolls.
df
nslookup
cat {filename}
115
47. Creates a directory
143
mkdir
finger
/lib
48. SMTP
25
usermod
ifdown
/var
49. Lists all files within a directory (including hidden)
top
ls -a
/root
grep '{pattern}' {file}
50. Adds existing user to a group
groupadd
/var
/home
usermod