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. Changes password for a user
dig
usermod
ifdown
passwd
2. Displays the 10 top lines of a file
usermod
/var
head
nslookup
3. SMTP
25
/lib
page {filename}
host
4. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
/boot
cal
netstat -r
wget
5. Telnet
23
/opt
cal
110
6. Creates a file / updates it
/var/log
touch
/sbin
netstat -i
7. SSH
22
uptime
/home
ls -a
8. Check IP Addresses of active interfaces
stat
ifconfig
156
25
9. Displays system uptime
/dev
uptime
page {filename}
mv
10. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
date
cat > {filename}
/home
156
11. View a text file - View file one screen at a time
cp
cat {filename} | more
top
ifconfig
12. View a text file - Use text editor and don't save.
finger
ifup
pico {filename}
bg
13. Ftp Control
21
ifup
/home
/proc
14. Reports a snapshot of the current processes
chown
/var/log
ps
ls -a
15. Log files
/var/log
/home
kill
ethtool
16. Reverse dns lookup
file
dig-x
w
man
17. Search for all Unix commands that match keyword - e.g apropos file.
179
ls -a
dig-x
apropos
18. Mount points for removable media such as CD-ROMs
netstat -i
/media
cat
passwd
19. Kills all processes by name
ps
/var
killall
sudo
20. Ftp Data
tail
chown
head
20
21. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
143
/proc
/bin
du -a
22. Checks web connectivity (displays page contents)
curl
dig
25
tail
23. Host-specific system-wide configuration files
/etc
rmdir
df
rm
24. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
netstat
80
chown
/etc
25. Displays Kernel information
cat {filename}
uname -a
ping
cd
26. SQL
443
kill
ifdown
156
27. Lists all stopped/paused background. Resumes a stopped job
ifup
464
bg
uptime
28. Lists all files within a directory (including hidden)
ifup
fg
finger
ls -a
29. Adds existing user to a group
usermod
bg
/root
443
30. Does a DNS lookup or reverse dns lookup
history
sudo
mv
host
31. Variable files—files whose content is expected to continually change during normal operation of the system—such as logs & spool files & and temporary e-mail files.
page {filename}
/var
netstat
/media
32. Users' home directories - containing saved files - personal settings - etc
/home
mv
df
ifdown
33. SQL
156
118
cd
ethtool
34. View a text file - View file but it scrolls.
143
cp
cat {filename}
man
35. Displays kernel routing tables
tail
netstat -i
netstat -r
/sbin
36. Changes directories
cd
ifdown
stat
/usr
37. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
cat {filename}
more {filename}
ps
/proc
38. Moves a file with the option of renaming it
/lib
/var
mv
ifup
39. SFTP
115
rmdir
53
nslookup
40. IMAP
143
156
mail
grep '{pattern}' {file}
41. BGP
179
118
mail
25
42. Deletes a file
rm
curl
/boot
chgrp
43. List files within a directory
110
ls
dig
w
44. Prints file information
netstat -i
161
mail
stat
45. Displays all current running processes (similar to task manager)
top
history
115
/opt
46. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
df
host
mail
53
47. Parses for string
/mnt
dig
grep
cat {filename}
48. View a text file - Very handy with ncftp.
/home
curl
dig-x
page {filename}
49. Display all interfaces
/lib
ifconfig -a
20
/etc
50. DNS
161
pwd
kill
53