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. Query internet name servers interactively
uptime
mv
nslookup
netstat -i
2. Displays a table of all network interfaces / errors
rm
netstat -i
/opt
/home
3. Brings an interface up
161
grep
dig-x
ifup
4. Changes directories
rmdir
143
/usr
cd
5. Kerberos password
464
ifup
23
/home
6. HTTP
w
finger
80
156
7. Host-specific system-wide configuration files
rm
groupadd
43
/etc
8. Prints contains of text file
mv
/home
/etc
cat
9. Displays system uptime
grep
'/'
23
uptime
10. POP3
110
/sbin
df
/var
11. View a text file - Like more - with extra features
less {filename}
ifconfig -a
/root
ls -a
12. List files within a directory
ls
cd
w
/home
13. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
less {filename}
/proc
du
161
14. Elevate rights to that of root
22
53
cd
sudo
15. Display all interfaces
cp
page {filename}
ifconfig -a
rm
16. SMTP
groupadd
25
less {filename}
cd
17. Changes group ownership of file or directory
netstat
/usr
chgrp
cat {filename} | more
18. Displays the 10 top lines of a file
118
host
179
head
19. Displays all file space usage
uname -a
ifup
du -a
tail
20. Creates a directory
mkdir
groupadd
chown
cp
21. View a text file - View file one screen at a time
23
/proc
cat {filename} | more
date
22. Libraries essential for the binaries in /bin/ and /sbin/
/etc
cat {filename} | more
/lib
usermod
23. Shows who is currently logged in and where
w
cp
115
cat > {filename}
24. Kills all processes by name
cat > {filename}
killall
cd
chgrp
25. Displays kernel routing tables
date
netstat -r
/opt
passwd
26. Reports a snapshot of the current processes
ps
dig-x
cat {filename} | more
host
27. Kills a process by pid
kill
pwd
ifup
passwd
28. Displays the status of a service or all services
uptime
20
service
kill
29. Estimate file space usage
du
443
cat
sudo
30. Report file system disk space usage
/sbin
date
/var
df
31. SFTP
21
chgrp
115
cd
32. Ftp Data
53
20
ps
file
33. BGP
179
chgrp
netstat -r
/var
34. View a text file - Very handy with ncftp.
kill
passwd
143
page {filename}
35. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
netstat
cat {filename}
file
443
36. Displays current date and time
23
22
date
161
37. Does a DNS lookup or reverse dns lookup
top
uname -a
mkdir
host
38. Parses for string
ifconfig -a
groupadd
/usr
grep
39. Displays manual or help document for a command/application
/mnt
rmdir
man
uptime
40. Lists all files within a directory (including hidden)
ls -a
/lib
156
file
41. Prints current working directory
/home
w
head
pwd
42. 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.
more {filename}
/opt
ethtool
/var
43. HTTPS
/media
443
mail
mkdir
44. Brings the most recent job to the foreground
464
fg
ethtool
ifconfig
45. Test network connectivity
/home
115
ping
uname -a
46. Log files
/var/log
mail
464
kill
47. Removes a directory
rmdir
usermod
service
sudo
48. DNS
53
less {filename}
tail
mv
49. Reverse dns lookup
/bin
dig-x
/sbin
w
50. Brings and interface down
ifdown
file
ifconfig -a
443