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. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
uname -a
cat > {filename}
dig
cat
2. WHOIS
nslookup
cat
43
118
3. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
wget
ifup
/proc
passwd
4. Prints contains of text file
/bin
cat
80
fg
5. Log files
/dev
pwd
uptime
/var/log
6. Estimate file space usage
head
143
179
du
7. SMTP
25
rmdir
dig-x
w
8. Changes ownership of a file or directory
chown
/dev
ethtool
cp
9. Adds existing user to a group
dig-x
file
mkdir
usermod
10. SQL
page {filename}
143
118
cat > {filename}
11. HTTPS
143
21
443
netstat -i
12. View a text file - View file one screen at a time
more {filename}
ifup
fg
dig-x
13. Creates a file / updates it
143
cat {filename} | more
touch
25
14. BGP
uname -a
179
/home
wget
15. SSH
/opt
22
ifconfig
mail
16. Displays user information
rmdir
touch
finger
file
17. Shows who is currently logged in and where
ls
21
179
w
18. Libraries essential for the binaries in /bin/ and /sbin/
more {filename}
179
/lib
file
19. Displays calendar
cal
/etc
usermod
22
20. Kerberos password
groupadd
du
179
464
21. Root directory of file system (not the user root's home dir)
'/'
22. Users' home directories - containing saved files - personal settings - etc
/usr
passwd
/tmp
/home
23. Query internet name servers interactively
finger
cat > {filename}
fg
nslookup
24. Display all interfaces
cd
ifconfig -a
cat {filename}
sudo
25. Secondary hierarchy for read-only user data
/usr
ping
grep '{pattern}' {file}
/proc
26. dns lookup
/sbin
netstat -i
dig
20
27. SFTP
grep '{pattern}' {file}
/usr
file
115
28. Test network connectivity
w
ps
ping
top
29. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
161
grep
mail
ethtool
30. User root's home directory
/root
ping
ifup
page {filename}
31. Removes a directory
ifconfig
history
grep
rmdir
32. 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.
161
/var
110
kill
33. Does a DNS lookup or reverse dns lookup
bg
cat {filename}
host
mkdir
34. Temporary files cleaned on reboot
usermod
pico {filename}
mkdir
/tmp
35. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
/boot
/sbin
ifup
rmdir
36. List files within a directory
cat
bg
uname -a
ls
37. Displays the 10 top lines of a file
179
head
history
host
38. Changes password for a user
w
cd
passwd
uname -a
39. Elevate rights to that of root
fg
/bin
passwd
sudo
40. Ftp Data
20
uname -a
23
/home
41. Displays Kernel information
uname -a
killall
dig-x
21
42. Host-specific system-wide configuration files
/etc
man
/var
/usr
43. View a text file - Very handy with ncftp.
'/'
/var/log
page {filename}
service
44. Checks web connectivity (displays page contents)
21
25
443
curl
45. Brings an interface up
/media
chgrp
ifup
rm
46. View a text file - Use text editor and don't save.
20
21
53
pico {filename}
47. Displays current date and time
date
less {filename}
netstat -r
464
48. Ftp Control
21
chgrp
cat {filename} | more
netstat
49. Changes directories
netstat -r
443
finger
cd
50. Prints current working directory
110
23
cat
pwd