SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. View a text file - View file one screen at a time
killall
/home
more {filename}
110
2. Displays all current running processes (similar to task manager)
netstat
top
115
ls
3. Search for all Unix commands that match keyword - e.g apropos file.
netstat
apropos
head
wget
4. Displays the 10 top lines of a file
161
ifup
head
/tmp
5. Essential system binaries : init - ip - mount
/home
ifconfig -a
/sbin
bg
6. Changes password for a user
ps
date
passwd
/tmp
7. Secondary hierarchy for read-only user data
/home
/bin
/usr
stat
8. Test network connectivity
netstat -i
rmdir
dig
ping
9. SNMP
25
uname -a
161
ls -a
10. SMTP
25
cat {filename}
chown
rmdir
11. View a text file - Like more - with extra features
143
less {filename}
/opt
tail
12. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
groupadd
cat > {filename}
pwd
rm
13. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
netstat
ifup
cat {filename}
/boot
14. Prints file type
history
file
pico {filename}
rmdir
15. Users' home directories - containing saved files - personal settings - etc
wget
stat
/boot
/home
16. Displays all file space usage
115
/bin
du -a
kill
17. Display all interfaces
ifconfig -a
uptime
80
bg
18. Lists all stopped/paused background. Resumes a stopped job
/sbin
bg
80
man
19. View a text file - Use text editor and don't save.
/var
pico {filename}
chgrp
ps
20. Check IP Addresses of active interfaces
ifconfig
touch
history
/bin
21. SFTP
service
115
ps
du
22. DNS
service
rm
ping
53
23. Displays a table of all network interfaces / errors
/dev
netstat -i
grep '{pattern}' {file}
25
24. Telnet
23
/proc
/var
cat {filename}
25. Displays the status of a service or all services
/var/log
/bin
service
cd
26. Creates a group for users
115
groupadd
finger
fg
27. IMAP
143
w
passwd
stat
28. Displays user information
161
pico {filename}
finger
43
29. Estimate file space usage
rmdir
service
killall
du
30. View a text file - Very handy with ncftp.
tail
netstat
sudo
page {filename}
31. Temporary files cleaned on reboot
netstat
uptime
/tmp
ls -a
32. HTTP
cat > {filename}
80
21
apropos
33. Displays the connection media state and capabilities
ethtool
nslookup
du -a
grep
34. Checks web connectivity (displays page contents)
date
usermod
grep
curl
35. Report file system disk space usage
179
bg
df
143
36. Kerberos password
464
head
25
du
37. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
date
/boot
more {filename}
115
38. Ftp Control
/home
21
kill
/boot
39. Changes group ownership of file or directory
chgrp
sudo
du
mkdir
40. View a text file - View file one screen at a time
pico {filename}
cat {filename} | more
/proc
115
41. Copies a file
rmdir
80
ls -a
cp
42. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
tail
/bin
156
service
43. Removes a directory
110
dig-x
rmdir
page {filename}
44. Libraries essential for the binaries in /bin/ and /sbin/
cat > {filename}
20
/lib
/root
45. Adds existing user to a group
mail
tail
mkdir
usermod
46. Kills all processes by name
file
killall
43
uptime
47. Displays manual or help document for a command/application
25
uname -a
man
history
48. Prints current working directory
pwd
/dev
du
ps
49. Creates a directory
mkdir
date
110
grep '{pattern}' {file}
50. Displays Kernel information
stat
uname -a
cal
143