SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. View a text file - Use text editor and don't save.
cat {filename}
pico {filename}
uname -a
nslookup
2. Estimate file space usage
/bin
du
ifup
pico {filename}
3. Displays Kernel information
rm
/usr
uname -a
bg
4. Displays the connection media state and capabilities
ethtool
uname -a
ls
ifconfig
5. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
pwd
cat
/bin
wget
6. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
df
netstat
netstat -i
110
7. Displays manual or help document for a command/application
man
/media
pico {filename}
mv
8. Search for all Unix commands that match keyword - e.g apropos file.
apropos
rmdir
netstat
killall
9. Temporary files cleaned on reboot
/tmp
ps
/media
/dev
10. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
cd
/boot
/home
/var
11. dns lookup
bg
/var/log
less {filename}
dig
12. Checks web connectivity (displays page contents)
25
23
curl
netstat
13. SMTP
grep '{pattern}' {file}
w
25
top
14. Reverse dns lookup
25
dig-x
rmdir
/usr
15. Displays calendar
20
chown
kill
cal
16. DNS
groupadd
53
464
mkdir
17. Shows who is currently logged in and where
ifconfig -a
w
/media
/bin
18. List files within a directory
ls
netstat
dig-x
cp
19. Temporarily mounted filesystems
/mnt
fg
143
/bin
20. Find regular expression in file.
21. Users' home directories - containing saved files - personal settings - etc
/home
ls
43
mail
22. Moves a file with the option of renaming it
ls -a
/usr
110
mv
23. Changes directories
115
ping
cd
cal
24. Ftp Control
21
/boot
20
chgrp
25. Libraries essential for the binaries in /bin/ and /sbin/
cat > {filename}
/lib
host
du -a
26. Secondary hierarchy for read-only user data
/usr
/sbin
curl
/media
27. Query internet name servers interactively
nslookup
less {filename}
rmdir
mkdir
28. Reports a snapshot of the current processes
ps
page {filename}
apropos
top
29. Changes group ownership of file or directory
apropos
curl
/bin
chgrp
30. Elevate rights to that of root
uptime
sudo
pwd
161
31. Kills a process by pid
/media
kill
df
netstat -i
32. Prints contains of text file
cat
less {filename}
w
/bin
33. SSH
/opt
22
mkdir
443
34. Prints file type
file
page {filename}
21
rmdir
35. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
apropos
killall
ifconfig -a
/proc
36. WHOIS
43
chown
/bin
service
37. Test network connectivity
ping
ethtool
118
du
38. Lists all files within a directory (including hidden)
/bin
cal
25
ls -a
39. POP3
top
pico {filename}
22
110
40. BGP
179
ifdown
/lib
usermod
41. Copies a file
cp
cal
mv
mkdir
42. Root directory of file system (not the user root's home dir)
'/'
43. Creates a directory
file
/bin
mkdir
netstat
44. Contains essential devices
du -a
179
/dev
touch
45. Displays all current running processes (similar to task manager)
ethtool
dig-x
/opt
top
46. Brings and interface down
23
cat {filename} | more
22
ifdown
47. Check IP Addresses of active interfaces
mail
rmdir
ifconfig
du -a
48. Brings an interface up
ifup
uptime
ps
curl
49. Displays the status of a service or all services
443
service
ifconfig
date
50. Lists all stopped/paused background. Resumes a stopped job
killall
bg
finger
grep '{pattern}' {file}