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. Parses for string
page {filename}
mail
pico {filename}
grep
2. Displays all current running processes (similar to task manager)
top
du -a
stat
rm
3. Elevate rights to that of root
chown
110
sudo
touch
4. Prints file information
stat
grep
/root
top
5. Temporary files cleaned on reboot
/boot
cd
ls -a
/tmp
6. Brings the most recent job to the foreground
du
fg
wget
df
7. Displays the 10 bottom lines of a file
tail
grep
/dev
host
8. Removes a directory
/bin
rmdir
top
cat {filename} | more
9. List files within a directory
21
pico {filename}
/opt
ls
10. Shows command history
/mnt
pwd
history
rmdir
11. SMTP
25
tail
80
cat {filename} | more
12. Kills a process by pid
cp
tail
kill
ls -a
13. View a text file - Use text editor and don't save.
443
netstat
464
pico {filename}
14. Deletes a file
rm
/home
ps
143
15. Lists all files within a directory (including hidden)
head
finger
pico {filename}
ls -a
16. Changes group ownership of file or directory
143
service
chgrp
top
17. Checks web connectivity (displays page contents)
curl
/var
ifdown
cat {filename}
18. Temporarily mounted filesystems
sudo
/opt
/mnt
more {filename}
19. SFTP
grep '{pattern}' {file}
cal
sudo
115
20. Displays the 10 top lines of a file
wget
head
finger
/media
21. Reports a snapshot of the current processes
ps
ifconfig -a
chgrp
cat > {filename}
22. 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.
rmdir
/home
usermod
/var
23. Displays kernel routing tables
netstat -r
/dev
chgrp
stat
24. View a text file - Like more - with extra features
less {filename}
finger
ifup
/sbin
25. Displays user information
du -a
du
finger
ethtool
26. HTTP
mkdir
cp
80
uptime
27. IMAP
chgrp
179
uname -a
143
28. Query internet name servers interactively
25
179
ifdown
nslookup
29. View a text file - View file but it scrolls.
cat > {filename}
ifconfig
cat {filename}
/etc
30. dns lookup
mail
/var/log
dig
du -a
31. Contains Boot loader files - e.g. - kernels - initrd; often a separate partition
more {filename}
chown
23
/boot
32. View a text file - View file one screen at a time
/boot
more {filename}
wget
usermod
33. Brings an interface up
/sbin
cat > {filename}
115
ifup
34. Adds existing user to a group
apropos
usermod
118
curl
35. SNMP
161
ifconfig
/lib
host
36. Prints current working directory
pwd
80
w
grep
37. Ftp Control
service
/sbin
21
rm
38. Create a text file: Enter your text (multiple lines with enter are ok) and press control-d to save.
cat > {filename}
mail
wget
finger
39. Displays current date and time
/var
date
bg
top
40. Changes directories
143
cd
21
/tmp
41. View a text file - Very handy with ncftp.
'/'
w
page {filename}
netstat
42. Mount points for removable media such as CD-ROMs
/media
/usr
53
21
43. Secondary hierarchy for read-only user data
/usr
file
ifconfig -a
touch
44. Displays system uptime
uptime
grep '{pattern}' {file}
ifconfig -a
cal
45. Configuration for optional installed software
161
/opt
chown
uptime
46. Users' home directories - containing saved files - personal settings - etc
dig-x
/home
date
cal
47. Moves a file with the option of renaming it
/dev
page {filename}
usermod
mv
48. Displays all file space usage
/media
/proc
touch
du -a
49. DNS
/boot
53
80
cat {filename}
50. Find regular expression in file.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183