/* */
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. Lists all stopped/paused background. Resumes a stopped job
/bin
115
/opt
bg
2. Test network connectivity
ping
/media
rm
stat
3. Search for all Unix commands that match keyword - e.g apropos file.
cat {filename} | more
netstat
apropos
cat > {filename}
4. Find regular expression in file.
5. Temporary files cleaned on reboot
man
/tmp
page {filename}
dig-x
6. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
fg
killall
/boot
20
7. Elevate rights to that of root
killall
sudo
mail
apropos
8. View a text file - Use text editor and don't save.
stat
pico {filename}
110
25
9. Displays current date and time
23
date
netstat -r
/tmp
10. Prints current working directory
more {filename}
pwd
tail
service
11. Displays a table of all network interfaces / errors
apropos
uptime
netstat -i
kill
12. Essential system binaries : init - ip - mount
ls -a
/sbin
ps
du
13. Reverse dns lookup
118
ls
ls -a
dig-x
14. List files within a directory
uname -a
ls
uptime
cal
15. Root directory of file system (not the user root's home dir)
'/'
16. Changes ownership of a file or directory
bg
pwd
chown
fg
17. Parses for string
du
/opt
less {filename}
grep
18. Displays kernel routing tables
ls -a
netstat -r
/proc
21
19. Displays system uptime
110
mv
stat
uptime
20. Log files
43
/var/log
uname -a
netstat -i
21. Estimate file space usage
rm
du
cat {filename} | more
cat > {filename}
22. SFTP
touch
finger
/var/log
115
23. HTTP
80
cat
'/'
rmdir
24. Changes directories
head
20
cd
uptime
25. Changes group ownership of file or directory
/boot
53
80
chgrp
26. Displays the connection media state and capabilities
cat {filename} | more
/dev
ethtool
usermod
27. View a text file - View file but it scrolls.
80
cat {filename}
/var/log
/bin
28. Temporarily mounted filesystems
/mnt
161
du -a
grep '{pattern}' {file}
29. SSH
grep '{pattern}' {file}
22
/home
53
30. Libraries essential for the binaries in /bin/ and /sbin/
22
ifup
/lib
cat {filename} | more
31. IMAP
uptime
143
pico {filename}
ifdown
32. Displays user information
cat > {filename}
du -a
du
finger
33. SQL
/proc
fg
156
finger
34. Moves a file with the option of renaming it
dig-x
chgrp
ls -a
mv
35. Prints file information
stat
more {filename}
161
pwd
36. 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.
/var
curl
/home
groupadd
37. dns lookup
mkdir
dig
ps
/etc
38. SQL
mail
118
head
/boot
39. Displays all current running processes (similar to task manager)
22
head
/tmp
top
40. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
20
22
/mnt
netstat
41. Reports a snapshot of the current processes
cp
ps
uname -a
history
42. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
cat > {filename}
'/'
/root
dig-x
43. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
/proc
rm
chgrp
/dev
44. Copies a file
grep
tail
cp
/mnt
45. Brings the most recent job to the foreground
file
ls
'/'
fg
46. WHOIS
ping
stat
43
ps
47. Adds existing user to a group
143
usermod
du -a
43
48. Ftp Control
21
464
apropos
/dev
49. Does a DNS lookup or reverse dns lookup
host
/dev
/var/log
uptime
50. User root's home directory
ls -a
/root
touch
/opt
//
//