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. Check IP Addresses of active interfaces
head
pwd
ifconfig
grep '{pattern}' {file}
2. Copies a file
/mnt
apropos
cat {filename}
cp
3. WHOIS
43
top
head
156
4. Prints file type
143
host
file
80
5. SMTP
pwd
ls
25
/dev
6. Ftp Control
apropos
21
rm
uptime
7. Does a DNS lookup or reverse dns lookup
156
ps
service
host
8. Reverse dns lookup
w
'/'
cal
dig-x
9. Telnet
w
53
23
ifup
10. Search for all Unix commands that match keyword - e.g apropos file.
date
netstat -i
passwd
apropos
11. Essential system binaries : init - ip - mount
/sbin
less {filename}
cat {filename}
cat > {filename}
12. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
mail
/etc
161
pico {filename}
13. Changes password for a user
sudo
passwd
20
/bin
14. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
dig
/tmp
netstat -r
/proc
15. Mount points for removable media such as CD-ROMs
156
file
/media
dig
16. View a text file - Like more - with extra features
less {filename}
rmdir
service
/etc
17. Creates a file / updates it
uname -a
touch
host
/var/log
18. Changes group ownership of file or directory
less {filename}
cal
chgrp
netstat
19. Brings and interface down
ifdown
ifconfig -a
/opt
page {filename}
20. BGP
nslookup
179
/var/log
/sbin
21. Creates a directory
mkdir
cd
chown
cat
22. Changes directories
chown
curl
netstat -r
cd
23. POP3
df
161
22
110
24. Libraries essential for the binaries in /bin/ and /sbin/
uname -a
cp
host
/lib
25. Find regular expression in file.
26. Downloads a file from the internet
wget
110
23
mv
27. Displays kernel routing tables
ifconfig -a
/media
netstat -r
ifup
28. View a text file - Use text editor and don't save.
finger
/media
20
pico {filename}
29. Log files
usermod
143
/var/log
finger
30. Displays Kernel information
53
chgrp
uname -a
kill
31. Kills a process by pid
du
464
kill
apropos
32. Displays all current running processes (similar to task manager)
du -a
touch
/dev
top
33. Creates a group for users
cat {filename}
pwd
groupadd
grep '{pattern}' {file}
34. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
/boot
grep
pwd
sudo
35. Users' home directories - containing saved files - personal settings - etc
/home
/mnt
cat {filename}
161
36. Displays the connection media state and capabilities
ethtool
464
80
mkdir
37. Displays the 10 bottom lines of a file
tail
stat
/usr
cat {filename}
38. IMAP
443
143
netstat -i
cat
39. Host-specific system-wide configuration files
/etc
/dev
110
ifdown
40. View a text file - View file one screen at a time
chown
cat
more {filename}
apropos
41. Reports a snapshot of the current processes
80
ps
top
head
42. Displays manual or help document for a command/application
man
ifconfig -a
rm
pwd
43. Removes a directory
rmdir
/var/log
page {filename}
/proc
44. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
ethtool
dig-x
chown
/bin
45. Shows who is currently logged in and where
w
/usr
23
netstat -i
46. Prints file information
wget
ifconfig -a
stat
ps
47. Deletes a file
rm
110
wget
du
48. SQL
179
118
passwd
22
49. View a text file - View file one screen at a time
cat {filename} | more
443
man
passwd
50. SSH
22
history
sudo
/sbin