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. User root's home directory
df
cat {filename} | more
/root
du
2. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
cal
ethtool
netstat -r
/proc
3. HTTP
80
/etc
kill
464
4. Users' home directories - containing saved files - personal settings - etc
uptime
/home
25
top
5. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
ethtool
cat > {filename}
netstat
history
6. SQL
/sbin
curl
156
history
7. Adds existing user to a group
usermod
killall
man
passwd
8. Displays kernel routing tables
less {filename}
page {filename}
netstat -r
ps
9. View a text file - Very handy with ncftp.
du -a
/sbin
118
page {filename}
10. View a text file - View file one screen at a time
/proc
pico {filename}
top
cat {filename} | more
11. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
du
/bin
page {filename}
apropos
12. View a text file - View file but it scrolls.
touch
/tmp
cat {filename}
/home
13. dns lookup
apropos
mv
dig
cat {filename} | more
14. View a text file - Use text editor and don't save.
usermod
pico {filename}
finger
tail
15. Configuration for optional installed software
156
/dev
rmdir
/opt
16. List files within a directory
passwd
ls
/root
netstat
17. Displays user information
finger
/etc
21
/bin
18. POP3
/mnt
110
pwd
killall
19. Brings the most recent job to the foreground
fg
/var/log
ping
sudo
20. Ftp Control
dig
tail
21
w
21. Host-specific system-wide configuration files
killall
/lib
/etc
464
22. Removes a directory
ls -a
top
rmdir
156
23. Ftp Data
21
/var/log
20
cat > {filename}
24. Prints file type
file
grep
fg
/etc
25. Displays manual or help document for a command/application
/root
service
man
/bin
26. Root directory of file system (not the user root's home dir)
'/'
27. Changes group ownership of file or directory
apropos
stat
25
chgrp
28. Displays current date and time
/media
/opt
cat
date
29. Shows who is currently logged in and where
w
/usr
less {filename}
groupadd
30. Checks web connectivity (displays page contents)
156
cp
/etc
curl
31. Search for all Unix commands that match keyword - e.g apropos file.
464
fg
apropos
/etc
32. Contains essential devices
less {filename}
cat {filename}
/dev
mail
33. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
pico {filename}
/home
netstat
mail
34. SSH
ping
53
22
mv
35. Changes password for a user
464
passwd
/home
date
36. SMTP
mkdir
cat
kill
25
37. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
apropos
20
cat > {filename}
115
38. 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.
/var
/media
464
/tmp
39. Lists all files within a directory (including hidden)
du -a
/lib
more {filename}
ls -a
40. Report file system disk space usage
netstat -i
groupadd
df
less {filename}
41. Query internet name servers interactively
53
w
ps
nslookup
42. Kerberos password
cat > {filename}
/boot
chgrp
464
43. Parses for string
mail
grep
115
df
44. Creates a file / updates it
du -a
touch
rmdir
grep '{pattern}' {file}
45. SNMP
118
161
netstat -r
/lib
46. Kills a process by pid
kill
more {filename}
/root
finger
47. Changes ownership of a file or directory
date
chown
mv
apropos
48. Prints current working directory
pwd
rm
touch
25
49. Lists all stopped/paused background. Resumes a stopped job
dig-x
bg
head
top
50. Displays system uptime
uptime
25
host
df