SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
RHCSA Commands
Start Test
Study First
Subjects
:
certifications
,
it-skills
,
rhcsa
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. Where are HTML pages hosted?
palimpsest
/var/www/html/
/etc/sysconfig/network
/etc/sysconfig/resolv.conf
2. Grep for lines that do not match (-v)
2>&1
$ grep -v ^# /etc/nsswitch.conf
ssh-keygen
man search :/repository
3. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
service sshd restart
/etc/ssh/sshd_config
#iptables -I INPUT -p tcp --dport 21 -j Accept
ntpdate -b instructor
4. Set a VNC password
logwatch
vncpasswd
# vi /etc/inittab change - id:3:initdefault:
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
5. System config firewall
system-config-date
GUI menu system/administratrion/firewall
# cat /var/log/messages | grep [Ff]ailed | less
yum install tigervnc-server
6. Backup a home directory on desktop6 to /tmp on server6
insert as opposed to append
rsync /home root@server6.example.com:/tmp
yum search firefox
# yum
7. See files installed with a package named vsftpd
# star -x -f=home.star
rpm -ql vsftpd
/var/log/maillog
tar czvf /tmp/etc.tar.gz /etc
8. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/sysconfig/iptables
$ grep -v ^# /etc/nsswitch.conf
*.debug /var/log/debug.log service rsyslog restart
rpm -ql vsftpd
9. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
# renice -10 proc-id
rsync -a /home/test1.html root@server6.example.com:/var/pub
service ntpd restart
/var/log/secure
10. List VMs
#virsh list
yum install firefox4
ip masqu
#yum install [package name]
11. Remove a package with yum
tar fzj
man search :/repository
ssh-copy-id root@server6.example.com
#yum remove [package name]
12. Get information about a package named firefox4
ln -s /pub /var/www/html/pub
/etc/services
nautilus
yum info firefox4
13. Process packets being forwarded through the system
#yum info [package name]
system-config-date
rpm --import [public key location]
IPtables forward chain
14. Create a tar ball with gzip compression of the home dir
yum install firefox4
# ls -l /usr/share/doc | grep httpd
/etc/yum.repos.d
$ tar czvf home.tar.gz /home
15. Search for command in the doc directory
GUI menu system/administratrion/firewall
rpm -qc httpd
# ls -l /usr/share/doc | grep httpd
system-config-date
16. Delete a rule from iptables
#yum groupinstall "group name"
#iptables -D INPUT -p tcp --dport 21 -j accpet
rsync /home/test1.html root@server6.example.com:/var/pub
#iptables -I INPUT -p tcp --dport 21 -j Accept
17. Program to analyze standard log files and send a summary email to root
logwatch
nautilus
yum install tigervnc-server
palimpsest
18. Extract /tmp/etc.tar.gz to /etc
tar xvzf /tmp/etc.tar.gz /etc
system-config-firewall tui
# virsh create /etc/libvert/qemu/vm_file_name.xml
#iptables -F
19. Configuration file for system logs
#rpm -uvh [package name]
/etc/rsyslog.conf
#iptables -L
tar cxtv
20. Persist the web server on boot
#uname -r
ln -s /pub /var/www/html/pub
chkconfig httpd on
# yum
21. Documentation about sysconfig network scripts
updating the kernel
tar fzj
#yum remove [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
22. Get a list of package groups from yum
/etc/services
#yum grouplist
#yum
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
23. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
# renice -10 proc-id
# vi /etc/inittab change - id:3:initdefault:
# ls -l /usr/share/doc | grep httpd
24. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
MailTo=student@server6.example.com
yum remove firefox4
rpm --import [public key location]
*.debug /var/log/debug.log service rsyslog restart
25. tar options for file name - gzip - and bzip2
rhn_register
tar fzj
#iptables -L
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
26. Install star
# vi /etc/inittab change - id:3:initdefault:
# yum
/var/log/maillog
system-config-firewall tui
27. Uninstall a package group with yum
/etc/hosts
ssh-keygen
#yum groupremove "group name"
/var/log/cron
28. Gets kernel version and release number
# virsh create /etc/libvert/qemu/vm_file_name.xml
#uname -r
man search :/repository
/etc/sysconfig/resolv.conf
29. Query information files with RPM
yum provides
$ tar xzvf home.tar.gz /home
#rpm -qi [package name]
# ls -l /usr/share/doc | grep httpd
30. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
yum provides
service vncserver restart chkconfig vncserver on
chkconfig httpd on
31. Query all documentation with RPM
#iptables -L
system-config-date
man search :/repository
#rpm -qad [package name]
32. Local host file (contains hostname). Can contain local system DNS.
ssh-keygen
tar xvzf /tmp/etc.tar.gz /etc
/etc/hosts
# yum
33. Restart the ntpd service
# renice -10 proc-id
service ntpd restart
#iptables -L
vsftpd restart
34. original DNS config file - still used
tar cxtv
/var/log/maillog
/var/log/secure
/etc/sysconfig/resolv.conf
35. Location of repo's
chkconfig vsftpd on
chkconfig httpd on
tar cxtv
/etc/yum.repos.d/
36. Determine which package provides SSH
yum provides "*/sbin/sshd"
#iptables -I INPUT -p tcp --dport 21 -j Accept
#yum info [package name]
tar cxtv
37. Kill a VM
cat >> some_file << _EOF
rpm -q pkg.rpm --scripts
yum provides
#virsh destroy domain-id
38. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
2>&1
/etc/sysconfig/network
/var/log/secure
rsync /home root@server6.example.com:/tmp
39. Search for a package with firefox in the description
cp /home/test1.html /var/www/html/test1.html
yum search firefox
IPtables output chain
2>&1
40. Email related messages log
service sshd restart
/var/log/maillog
yum search firefox
# star -x -f=home.star
41. Copy a public ssh key to server6
/var/log/secure
ssh-copy-id root@server6.example.com
$ tar czvf home.tar.gz /home
yum install tigervnc-server
42. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
Fully Qualified Domain Name
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
rsync -a /home/test1.html root@server6.example.com:/var/pub
insert as opposed to append
43. Primary configuration of ssh
ip masqu
rpm -qc httpd
/etc/ssh/sshd_config
*.debug /var/log/debug.log service rsyslog restart
44. tar options for create - extract - test - and verbose
ln -s /pub /var/www/html/pub
rhn_register
tar cxtv
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
45. Get more information on a package availale through yum
#yum info [package name]
#yum groupinstall "group name"
# cat /var/log/messages | grep [Ff]ailed | less
rpm -qp pkg.rpm
46. Acting as a router with forwarding
#rpm -qa | grep [package name]
#ip addr show
ip masqu
Fully Qualified Domain Name
47. Extract a star compressed file
yum install firefox4
# star -x -f=home.star
#iptables -I INPUT -p tcp --dport 21 -j Accept
#yum
48. Disks available for partitions
vsftpd
/dev
updating the kernel
#rpm -qi [package name]
49. Stores filewall rules for the system.
$ tar xzvf home.tar.gz /home
palimpsest
/etc/sysconfig/iptables
# virsh create /etc/libvert/qemu/vm_file_name.xml
50. Search for a package within all packages
/etc/rsyslog.conf
#rpm -qa | grep [package name]
/etc/ssh/sshd_config
tar fzj
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests