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. Displays current date and time
date
'/'
uptime
20
2. HTTP
ifdown
ifconfig -a
80
du
3. Deletes a file
kill
43
cp
rm
4. Lists all stopped/paused background. Resumes a stopped job
21
netstat -i
bg
ifup
5. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
ifconfig -a
cat > {filename}
mail
ls -a
6. Report file system disk space usage
stat
cd
df
mkdir
7. Essential system binaries : init - ip - mount
/etc
/sbin
cat > {filename}
/var
8. Displays manual or help document for a command/application
ifup
usermod
/etc
man
9. Displays a table of all network interfaces / errors
netstat -i
156
less {filename}
rm
10. SSH
22
20
service
118
11. Reports a snapshot of the current processes
du -a
ps
du
ifdown
12. Creates a group for users
touch
apropos
groupadd
stat
13. Users' home directories - containing saved files - personal settings - etc
/home
/etc
115
apropos
14. Displays the connection media state and capabilities
df
grep
ethtool
443
15. Estimate file space usage
file
pwd
du
stat
16. Does a DNS lookup or reverse dns lookup
443
host
464
/sbin
17. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
/boot
143
netstat
110
18. View a text file - View file but it scrolls.
'/'
kill
cat {filename}
22
19. View a text file - Very handy with ncftp.
usermod
page {filename}
rm
file
20. Changes password for a user
nslookup
/dev
mkdir
passwd
21. Telnet
host
23
nslookup
less {filename}
22. Shows command history
ifconfig -a
ifup
history
cat
23. Creates a file / updates it
bg
143
touch
file
24. Prints file information
kill
less {filename}
stat
cd
25. Temporary files cleaned on reboot
mkdir
uname -a
/tmp
touch
26. Displays the 10 bottom lines of a file
tail
nslookup
cat {filename} | more
dig-x
27. SQL
/boot
118
uptime
156
28. BGP
cat
179
nslookup
443
29. Prints current working directory
apropos
53
pwd
/home
30. Query internet name servers interactively
rmdir
nslookup
53
'/'
31. Displays all current running processes (similar to task manager)
top
ps
page {filename}
uname -a
32. Lists all files within a directory (including hidden)
/lib
ls -a
rm
ethtool
33. View a text file - Use text editor and don't save.
w
23
chown
pico {filename}
34. Search for all Unix commands that match keyword - e.g apropos file.
man
apropos
/opt
chown
35. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
ifdown
/bin
110
killall
36. Brings and interface down
mv
ifdown
grep
/opt
37. Kills a process by pid
ifconfig -a
date
kill
groupadd
38. Libraries essential for the binaries in /bin/ and /sbin/
history
touch
/lib
groupadd
39. SQL
156
/bin
killall
stat
40. Find regular expression in file.
41. Parses for string
110
apropos
grep
/etc
42. User root's home directory
/root
pico {filename}
touch
/var
43. Brings the most recent job to the foreground
uptime
stat
fg
top
44. Changes group ownership of file or directory
more {filename}
ls -a
tail
chgrp
45. SFTP
netstat
cat {filename} | more
history
115
46. Downloads a file from the internet
/sbin
/usr
53
wget
47. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
mail
chgrp
/mnt
ifdown
48. Moves a file with the option of renaming it
118
apropos
/opt
mv
49. SNMP
161
mkdir
cat {filename} | more
20
50. Root directory of file system (not the user root's home dir)
'/'