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. Kills all processes by name
ls -a
date
killall
/bin
2. 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.
/root
/boot
/var
/usr
3. Shows command history
fg
history
dig-x
pico {filename}
4. Creates a group for users
date
groupadd
kill
25
5. Query internet name servers interactively
ls
464
nslookup
service
6. Creates a directory
man
grep '{pattern}' {file}
tail
mkdir
7. View a text file - Use text editor and don't save.
pico {filename}
rmdir
cat {filename} | more
ifconfig
8. Users' home directories - containing saved files - personal settings - etc
kill
/home
rm
pwd
9. Report file system disk space usage
cat {filename}
pico {filename}
161
df
10. Displays the status of a service or all services
cat {filename}
service
179
/usr
11. Root directory of file system (not the user root's home dir)
'/'
12. Essential system binaries : init - ip - mount
dig
ls
pico {filename}
/sbin
13. Displays current date and time
20
ifup
date
tail
14. Telnet
23
less {filename}
/dev
sudo
15. Displays the 10 bottom lines of a file
tail
rm
usermod
ls
16. Libraries essential for the binaries in /bin/ and /sbin/
/lib
netstat -r
cat {filename}
/tmp
17. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
/opt
mail
curl
stat
18. Displays Kernel information
pwd
/var/log
uname -a
finger
19. Test network connectivity
ping
fg
killall
grep
20. View a text file - Like more - with extra features
host
/usr
less {filename}
cat
21. BGP
ethtool
179
w
fg
22. Changes directories
cd
head
/bin
nslookup
23. Displays calendar
stat
/usr
cal
115
24. DNS
kill
tail
/var
53
25. Changes group ownership of file or directory
43
chgrp
curl
21
26. dns lookup
netstat -i
/var/log
dig
head
27. SQL
ls -a
chgrp
156
cat > {filename}
28. Prints current working directory
pwd
usermod
ls -a
/sbin
29. Displays the connection media state and capabilities
sudo
464
161
ethtool
30. Displays a table of all network interfaces / errors
/opt
touch
netstat -i
netstat -r
31. Elevate rights to that of root
sudo
du
/mnt
/var
32. HTTP
ifconfig -a
tail
uname -a
80
33. WHOIS
23
156
43
cp
34. Temporarily mounted filesystems
passwd
w
/mnt
ethtool
35. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
/proc
cat > {filename}
curl
ethtool
36. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
killall
/boot
chown
cal
37. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
/bin
443
cat
cat > {filename}
38. Lists all stopped/paused background. Resumes a stopped job
passwd
bg
less {filename}
netstat -i
39. User root's home directory
/lib
156
bg
/root
40. Displays manual or help document for a command/application
man
ifconfig
head
curl
41. Shows who is currently logged in and where
/tmp
cat
w
cat > {filename}
42. Prints file type
161
/var
file
bg
43. Reports a snapshot of the current processes
/proc
uptime
ps
53
44. Parses for string
host
/usr
uname -a
grep
45. Ftp Control
/mnt
tail
ping
21
46. Changes password for a user
nslookup
w
passwd
115
47. Search for all Unix commands that match keyword - e.g apropos file.
chgrp
fg
apropos
sudo
48. Ftp Data
20
netstat -i
22
passwd
49. Displays all file space usage
ls -a
ifup
du -a
df
50. Displays user information
finger
du
21
/mnt