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. ____ is found at: cd /var/mail then vi into each mail (administrator - www-data - nagios etc.)
uname -a
/var
mail
sudo
2. Kills all processes by name
mail
killall
touch
sudo
3. Changes ownership of a file or directory
w
uname -a
pwd
chown
4. Lists all stopped/paused background. Resumes a stopped job
page {filename}
bg
man
more {filename}
5. Brings and interface down
tail
killall
ethtool
ifdown
6. SMTP
mv
25
dig
ping
7. Report file system disk space usage
143
chgrp
/proc
df
8. Users' home directories - containing saved files - personal settings - etc
43
/boot
/home
pwd
9. User root's home directory
/root
ifconfig
history
chown
10. View a text file - Like more - with extra features
nslookup
man
25
less {filename}
11. Host-specific system-wide configuration files
groupadd
/opt
/etc
cd
12. Search for all Unix commands that match keyword - e.g apropos file.
ifdown
apropos
du
118
13. Ftp Data
20
touch
less {filename}
'/'
14. Creates a directory
host
mkdir
161
cat
15. Removes a directory
rmdir
/home
usermod
cd
16. View a text file - View file one screen at a time
ps
bg
kill
cat {filename} | more
17. Brings the most recent job to the foreground
cat
usermod
cd
fg
18. dns lookup
touch
dig
w
sudo
19. DNS
touch
53
man
143
20. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
/bin
110
wget
history
21. Essential system binaries : init - ip - mount
/sbin
ethtool
ps
sudo
22. Displays the 10 top lines of a file
143
mail
/mnt
head
23. Displays calendar
less {filename}
grep
du
cal
24. Does a DNS lookup or reverse dns lookup
/boot
date
host
ping
25. Prints current working directory
mail
netstat -i
ethtool
pwd
26. Lists all files within a directory (including hidden)
/media
ls -a
/tmp
kill
27. Reverse dns lookup
cp
df
dig-x
ifconfig
28. Check IP Addresses of active interfaces
443
464
ifconfig
less {filename}
29. Creates a group for users
ifconfig
w
groupadd
/proc
30. Shows who is currently logged in and where
groupadd
179
w
43
31. Checks web connectivity (displays page contents)
chown
netstat -r
curl
cat {filename} | more
32. SFTP
netstat -r
grep
115
cal
33. SQL
chgrp
118
passwd
443
34. View a text file - Very handy with ncftp.
mail
page {filename}
more {filename}
110
35. Changes group ownership of file or directory
ethtool
chgrp
/dev
mail
36. Displays user information
service
finger
80
netstat
37. Prints file information
143
/etc
stat
ifup
38. Changes password for a user
chgrp
mail
top
passwd
39. View a text file - View file one screen at a time
ifconfig
netstat -r
more {filename}
cal
40. Parses for string
touch
/media
grep
date
41. 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
21
head
chgrp
42. BGP
179
netstat -i
21
passwd
43. Libraries essential for the binaries in /bin/ and /sbin/
w
/lib
df
touch
44. Prints contains of text file
cat > {filename}
cd
cat
dig-x
45. SSH
22
netstat -r
/boot
/home
46. List files within a directory
80
du
ls
20
47. Displays current date and time
du
kill
date
43
48. Displays system uptime
mv
cat {filename} | more
du
uptime
49. View a text file - View file but it scrolls.
cat {filename}
/media
pwd
uptime
50. Display all interfaces
tail
du -a
head
ifconfig -a