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. View a text file - View file one screen at a time
date
cat > {filename}
cat {filename} | more
curl
2. View a text file - Very handy with ncftp.
page {filename}
ping
cal
/etc
3. View a text file - View file but it scrolls.
fg
cat {filename}
118
43
4. Brings and interface down
ifdown
ethtool
head
143
5. Ftp Control
mv
file
143
21
6. Changes directories
dig-x
cd
grep '{pattern}' {file}
ifdown
7. User root's home directory
cat > {filename}
23
/root
/lib
8. View a text file - Use text editor and don't save.
/boot
pico {filename}
netstat
top
9. Elevate rights to that of root
head
top
w
sudo
10. Temporary files cleaned on reboot
/tmp
less {filename}
passwd
25
11. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
cat {filename} | more
man
ifconfig
cat > {filename}
12. Users' home directories - containing saved files - personal settings - etc
/dev
mail
/home
/var
13. SFTP
chgrp
top
uptime
115
14. Check IP Addresses of active interfaces
25
ifconfig
cat {filename}
file
15. SQL
118
netstat -i
/proc
cat {filename} | more
16. View a text file - View file one screen at a time
usermod
143
/mnt
more {filename}
17. Displays the status of a service or all services
53
curl
464
service
18. Libraries essential for the binaries in /bin/ and /sbin/
history
page {filename}
/lib
head
19. Display all interfaces
161
apropos
ifconfig -a
/root
20. SNMP
mkdir
/sbin
161
stat
21. Deletes a file
rm
/lib
ifdown
25
22. BGP
apropos
179
161
23
23. Query internet name servers interactively
nslookup
143
/media
25
24. Displays user information
w
53
/var/log
finger
25. SQL
more {filename}
curl
156
dig
26. Essential system binaries : init - ip - mount
/var/log
cp
43
/sbin
27. Creates a directory
mkdir
more {filename}
156
/tmp
28. Creates a file / updates it
touch
156
head
/media
29. Virtual filesystem documenting kernel and process status as text files - e.g. uptime or network. In Linux it corresponds to a Procfs mount
df
/proc
man
dig-x
30. Essential command binaries that need to be available in single user mode; for all users - e.g. - cat - ls - cp.
ifconfig -a
/bin
fg
touch
31. Creates a group for users
head
service
/bin
groupadd
32. Shows command history
history
ifconfig -a
143
page {filename}
33. Host-specific system-wide configuration files
ifup
mkdir
/etc
passwd
34. IMAP
ethtool
/dev
/boot
143
35. Prints current working directory
80
ifconfig
118
pwd
36. HTTP
grep
80
history
443
37. Log files
/root
/var/log
passwd
dig-x
38. Displays a table of all network interfaces / errors
netstat -i
mkdir
23
ping
39. Prints network connections - routing tables - interface stats - masq connections and multicast relationships
netstat
page {filename}
179
mv
40. Displays system uptime
/media
wget
finger
uptime
41. Adds existing user to a group
/lib
usermod
ls -a
sudo
42. Mount points for removable media such as CD-ROMs
179
/media
chgrp
groupadd
43. Displays Kernel information
chown
464
uname -a
usermod
44. Brings the most recent job to the foreground
fg
man
20
ethtool
45. Ftp Data
ls -a
20
pwd
nslookup
46. Removes a directory
service
rmdir
/var/log
date
47. HTTPS
/dev
21
443
curl
48. Downloads a file from the internet
/sbin
wget
/var
464
49. Search for all Unix commands that match keyword - e.g apropos file.
uname -a
apropos
cat {filename} | more
ifconfig -a
50. Does a DNS lookup or reverse dns lookup
host
netstat -r
ls
wget