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. Temporary files cleaned on reboot
ifdown
cal
pwd
/tmp
2. View a text file - Like more - with extra features
grep '{pattern}' {file}
file
53
less {filename}
3. Reports a snapshot of the current processes
netstat -i
ps
/boot
kill
4. 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.
uname -a
mkdir
118
/var
5. Moves a file with the option of renaming it
cal
kill
mv
head
6. Displays system uptime
uptime
netstat
/sbin
ethtool
7. Displays kernel routing tables
/proc
netstat -r
dig
mkdir
8. Displays the 10 top lines of a file
cat {filename} | more
head
grep '{pattern}' {file}
ping
9. Kills a process by pid
dig-x
kill
killall
wget
10. Brings the most recent job to the foreground
fg
/etc
cat {filename} | more
ifconfig -a
11. Elevate rights to that of root
43
sudo
rmdir
finger
12. Shows who is currently logged in and where
ifconfig
chown
w
man
13. List files within a directory
rm
/dev
ls
df
14. Host-specific system-wide configuration files
du
df
service
/etc
15. View a text file - Use text editor and don't save.
mv
/etc
tail
pico {filename}
16. Prints current working directory
mv
uname -a
pwd
cd
17. Ftp Control
cat
25
21
netstat
18. Brings an interface up
ifup
/home
bg
nslookup
19. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
/boot
usermod
netstat
mv
20. Display all interfaces
/lib
man
110
ifconfig -a
21. HTTP
nslookup
host
ifconfig
80
22. SQL
killall
/bin
118
179
23. SSH
22
mv
netstat -i
touch
24. Temporarily mounted filesystems
80
groupadd
/mnt
'/'
25. Parses for string
cd
grep
tail
w
26. Secondary hierarchy for read-only user data
touch
man
/usr
115
27. POP3
date
115
df
110
28. Changes group ownership of file or directory
touch
chgrp
cd
ls
29. DNS
cat
pico {filename}
53
grep '{pattern}' {file}
30. Contains essential devices
head
/tmp
touch
/dev
31. Deletes a file
cp
443
usermod
rm
32. IMAP
finger
bg
143
'/'
33. Shows command history
history
passwd
grep
rmdir
34. Creates a directory
/sbin
du
netstat -i
mkdir
35. Displays the status of a service or all services
80
stat
ifconfig -a
service
36. Lists all stopped/paused background. Resumes a stopped job
cd
bg
ethtool
netstat -r
37. Displays a table of all network interfaces / errors
dig-x
chgrp
netstat -i
groupadd
38. Copies a file
top
cp
22
w
39. Changes directories
apropos
cd
/lib
man
40. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
'/'
/var/log
mail
top
41. Query internet name servers interactively
date
/proc
groupadd
nslookup
42. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
/root
/dev
/bin
ifconfig
43. Find regular expression in file.
44. Removes a directory
rmdir
464
/usr
20
45. Root directory of file system (not the user root's home dir)
'/'
46. Kerberos password
fg
464
finger
/media
47. Search for all Unix commands that match keyword - e.g apropos file.
ping
156
apropos
ls -a
48. Kills all processes by name
179
pico {filename}
du -a
killall
49. SNMP
apropos
dig-x
161
sudo
50. BGP
netstat
w
179
ethtool