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. SQL
tail
118
/tmp
/media
2. Telnet
w
156
23
chown
3. Estimate file space usage
page {filename}
/media
du
host
4. Temporary files cleaned on reboot
grep '{pattern}' {file}
/tmp
nslookup
/var/log
5. Changes group ownership of file or directory
/opt
chgrp
/home
/var/log
6. Host-specific system-wide configuration files
/var
179
wget
/etc
7. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
service
21
/boot
/var/log
8. Essential system binaries : init - ip - mount
killall
/sbin
host
161
9. Changes ownership of a file or directory
ifup
more {filename}
uptime
chown
10. Test network connectivity
ping
ifdown
du -a
ifconfig
11. Log files
mail
/home
21
/var/log
12. Deletes a file
rm
23
passwd
ifdown
13. HTTP
passwd
80
ls
usermod
14. SFTP
df
115
tail
118
15. SMTP
cat {filename} | more
25
bg
less {filename}
16. Brings the most recent job to the foreground
fg
chown
sudo
179
17. Does a DNS lookup or reverse dns lookup
/tmp
host
head
/mnt
18. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
touch
/var
/bin
man
19. Brings and interface down
ifdown
/root
22
20
20. Displays Kernel information
115
uname -a
pico {filename}
ifup
21. Creates a group for users
/media
groupadd
/var
top
22. View a text file - View file one screen at a time
cat {filename} | more
bg
grep '{pattern}' {file}
du -a
23. HTTPS
page {filename}
history
cd
443
24. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
cat {filename} | more
25
mail
ping
25. Libraries essential for the binaries in /bin/ and /sbin/
/lib
netstat -i
/boot
du
26. Kerberos password
cat {filename} | more
464
pico {filename}
20
27. Displays system uptime
443
cat {filename} | more
w
uptime
28. Users' home directories - containing saved files - personal settings - etc
118
/home
156
ifup
29. Displays the 10 bottom lines of a file
tail
110
bg
'/'
30. Creates a directory
fg
/var/log
25
mkdir
31. Reports a snapshot of the current processes
ps
/lib
nslookup
more {filename}
32. Downloads a file from the internet
wget
touch
netstat -i
groupadd
33. Lists all files within a directory (including hidden)
ls -a
ping
host
80
34. DNS
156
chgrp
21
53
35. Displays calendar
cp
cat {filename} | more
ls
cal
36. View a text file - Use text editor and don't save.
pico {filename}
page {filename}
cal
ls -a
37. Displays the 10 top lines of a file
killall
/media
110
head
38. Displays the status of a service or all services
service
21
usermod
tail
39. 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.
/proc
/var
/sbin
/root
40. Displays all file space usage
/boot
du -a
service
/mnt
41. Ftp Control
killall
usermod
21
/var/log
42. Temporarily mounted filesystems
df
mv
more {filename}
/mnt
43. View a text file - Very handy with ncftp.
grep
cal
pwd
page {filename}
44. Mount points for removable media such as CD-ROMs
/media
/dev
'/'
grep
45. Displays kernel routing tables
passwd
dig-x
fg
netstat -r
46. Shows command history
history
/mnt
kill
uname -a
47. dns lookup
161
netstat -i
more {filename}
dig
48. User root's home directory
df
page {filename}
/root
/boot
49. Displays a table of all network interfaces / errors
du -a
netstat -i
tail
ls
50. Find regular expression in file.