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.
mkdir
grep '{pattern}' {file}
host
cat > {filename}
2. Adds existing user to a group
passwd
apropos
usermod
curl
3. SMTP
mail
25
/dev
cat {filename} | more
4. SQL
/usr
20
118
22
5. Query internet name servers interactively
host
143
nslookup
du
6. Shows who is currently logged in and where
host
w
/var/log
cat
7. Host-specific system-wide configuration files
179
pwd
ifdown
/etc
8. Brings the most recent job to the foreground
118
fg
/dev
mkdir
9. Creates a group for users
w
stat
head
groupadd
10. Root directory of file system (not the user root's home dir)
'/'
11. View a text file - View file one screen at a time
/bin
passwd
115
cat {filename} | more
12. Contains essential devices
/dev
110
/mnt
ifup
13. Parses for string
grep
/home
uname -a
pico {filename}
14. IMAP
143
/var/log
/lib
fg
15. View a text file - Like more - with extra features
less {filename}
118
ping
history
16. POP3
/sbin
ifconfig
110
/mnt
17. 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
finger
161
/usr
18. Prints current working directory
/var/log
cd
pwd
110
19. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
apropos
mail
stat
ethtool
20. WHOIS
/mnt
43
sudo
w
21. BGP
ps
179
/media
grep
22. Reports a snapshot of the current processes
ps
apropos
fg
pwd
23. Brings and interface down
pwd
/home
usermod
ifdown
24. Displays current date and time
/lib
usermod
date
chgrp
25. Displays user information
ifup
df
finger
killall
26. Does a DNS lookup or reverse dns lookup
host
cat {filename}
25
groupadd
27. Displays system uptime
mv
uptime
nslookup
cat
28. Displays the connection media state and capabilities
/dev
netstat -i
ethtool
22
29. Report file system disk space usage
df
'/'
/boot
bg
30. View a text file - View file one screen at a time
/var/log
host
/home
more {filename}
31. Check IP Addresses of active interfaces
cal
ifconfig
cat {filename}
/opt
32. Moves a file with the option of renaming it
uptime
passwd
mv
/mnt
33. Elevate rights to that of root
nslookup
sudo
netstat
man
34. Displays kernel routing tables
ls -a
cp
netstat -r
rmdir
35. Prints file type
cat {filename}
more {filename}
page {filename}
file
36. Displays all file space usage
cp
du -a
cat {filename}
/usr
37. View a text file - Very handy with ncftp.
grep
53
df
page {filename}
38. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
pwd
/proc
/usr
ifconfig
39. SQL
/etc
/media
156
80
40. Changes ownership of a file or directory
chown
head
/var
usermod
41. Displays the status of a service or all services
/mnt
service
bg
ethtool
42. View a text file - Use text editor and don't save.
pico {filename}
grep
chown
history
43. Reverse dns lookup
chgrp
bg
ifconfig
dig-x
44. Displays the 10 bottom lines of a file
tail
23
pwd
/etc
45. Shows command history
killall
history
rm
ls
46. Downloads a file from the internet
date
wget
touch
rm
47. Find regular expression in file.
48. SNMP
161
du
dig-x
chown
49. Test network connectivity
rm
sudo
ping
service
50. Kills a process by pid
kill
/usr
date
/bin