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. Prints file information
stat
/boot
ls -a
22
2. User root's home directory
cat {filename} | more
bg
161
/root
3. HTTPS
mkdir
443
service
dig
4. Checks web connectivity (displays page contents)
netstat -r
/home
chgrp
curl
5. Log files
cat {filename} | more
/var/log
grep '{pattern}' {file}
115
6. Brings and interface down
25
ifdown
apropos
tail
7. Creates a group for users
groupadd
passwd
21
/opt
8. List files within a directory
23
netstat -r
ls
pwd
9. Displays kernel routing tables
'/'
/usr
bg
netstat -r
10. Prints contains of text file
cat
history
ifup
df
11. SQL
118
156
bg
443
12. Removes a directory
/media
dig-x
curl
rmdir
13. WHOIS
killall
/mnt
/boot
43
14. Search for all Unix commands that match keyword - e.g apropos file.
ifconfig
464
cat {filename}
apropos
15. SSH
22
curl
groupadd
118
16. Kills all processes by name
netstat -i
bg
killall
cat
17. Ftp Data
mail
20
top
usermod
18. View a text file - View file but it scrolls.
/dev
cat {filename}
/tmp
netstat -i
19. Displays all file space usage
du -a
20
uptime
ping
20. Creates a file / updates it
rm
53
touch
ifup
21. BGP
179
ifconfig
uname -a
156
22. Displays the 10 top lines of a file
cp
less {filename}
/root
head
23. Displays system uptime
/tmp
uptime
/mnt
page {filename}
24. Displays all current running processes (similar to task manager)
more {filename}
top
sudo
netstat -r
25. Displays current date and time
date
du -a
pwd
rmdir
26. Adds existing user to a group
curl
usermod
/mnt
fg
27. Essential system binaries : init - ip - mount
/sbin
156
464
pico {filename}
28. SNMP
/etc
ifdown
161
killall
29. Displays user information
dig-x
finger
history
/tmp
30. POP3
nslookup
161
110
usermod
31. Lists all files within a directory (including hidden)
ls -a
tail
/var/log
mkdir
32. Find regular expression in file.
33. Copies a file
du
/tmp
mv
cp
34. IMAP
rm
20
143
cat {filename}
35. Downloads a file from the internet
nslookup
wget
ifdown
stat
36. Shows who is currently logged in and where
w
du
history
20
37. Deletes a file
rm
115
chgrp
touch
38. Displays a table of all network interfaces / errors
/media
netstat -i
25
usermod
39. Reverse dns lookup
pwd
fg
/boot
dig-x
40. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
host
21
cat > {filename}
groupadd
41. View a text file - View file one screen at a time
page {filename}
pwd
80
cat {filename} | more
42. Mount points for removable media such as CD-ROMs
cal
du -a
/media
usermod
43. SFTP
grep '{pattern}' {file}
uname -a
ifconfig
115
44. Changes ownership of a file or directory
wget
chown
history
nslookup
45. HTTP
53
nslookup
80
cat {filename} | more
46. Root directory of file system (not the user root's home dir)
'/'
47. Host-specific system-wide configuration files
ifconfig -a
ping
chgrp
/etc
48. Brings the most recent job to the foreground
curl
fg
/var
pico {filename}
49. Moves a file with the option of renaming it
21
464
date
mv
50. Query internet name servers interactively
nslookup
53
/var
cp