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. Creates a group for users
161
156
dig
groupadd
2. Displays manual or help document for a command/application
cp
dig
man
mv
3. Prints contains of text file
du -a
cat
dig
page {filename}
4. Displays the 10 top lines of a file
head
cp
/root
netstat -r
5. Test network connectivity
page {filename}
less {filename}
ping
top
6. Essential system binaries : init - ip - mount
/var
cp
/sbin
ethtool
7. Displays a table of all network interfaces / errors
page {filename}
netstat -i
53
/media
8. Query internet name servers interactively
22
chgrp
nslookup
/bin
9. Checks web connectivity (displays page contents)
20
curl
/etc
more {filename}
10. BGP
43
mail
179
23
11. Changes ownership of a file or directory
grep
'/'
chown
/opt
12. Prints current working directory
/opt
pwd
443
143
13. Moves a file with the option of renaming it
23
mv
161
file
14. Lists all stopped/paused background. Resumes a stopped job
bg
22
dig
grep
15. Temporarily mounted filesystems
/mnt
mkdir
ifconfig
w
16. Prints file type
80
/bin
118
file
17. SQL
cd
179
groupadd
156
18. Estimate file space usage
ifdown
nslookup
ifup
du
19. Displays the connection media state and capabilities
/root
less {filename}
ethtool
top
20. Changes directories
du -a
stat
file
cd
21. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
/root
/sbin
mail
man
22. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
cat {filename} | more
netstat
wget
netstat -i
23. View a text file - View file but it scrolls.
sudo
cat {filename}
ps
netstat -i
24. Displays the status of a service or all services
161
netstat -i
179
service
25. Root directory of file system (not the user root's home dir)
'/'
26. Shows command history
netstat -r
history
ifconfig
kill
27. View a text file - Like more - with extra features
du
netstat -i
less {filename}
uname -a
28. DNS
ifconfig
53
chgrp
/root
29. Libraries essential for the binaries in /bin/ and /sbin/
/lib
464
file
dig
30. Displays Kernel information
20
more {filename}
less {filename}
uname -a
31. Displays all current running processes (similar to task manager)
/var/log
grep '{pattern}' {file}
156
top
32. Downloads a file from the internet
179
wget
bg
cat {filename}
33. Display all interfaces
file
less {filename}
ifconfig -a
ethtool
34. Creates a directory
wget
25
mkdir
head
35. Reverse dns lookup
dig-x
man
mail
chown
36. Displays user information
finger
/usr
cat {filename}
fg
37. Brings an interface up
df
netstat -r
ifup
110
38. SQL
179
killall
118
ifdown
39. Displays all file space usage
w
du -a
rmdir
ifconfig
40. Ftp Data
touch
20
dig
110
41. View a text file - View file one screen at a time
cat {filename} | more
53
chgrp
du -a
42. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
head
/bin
finger
sudo
43. Parses for string
'/'
/lib
grep
du -a
44. Changes group ownership of file or directory
sudo
grep
chgrp
killall
45. Deletes a file
wget
groupadd
rm
/tmp
46. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
touch
464
netstat
/proc
47. Displays system uptime
uptime
tail
443
more {filename}
48. Check IP Addresses of active interfaces
ifconfig
file
ifup
110
49. Shows who is currently logged in and where
mail
w
killall
grep
50. Creates a file / updates it
ifdown
host
cat {filename} | more
touch