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. Adjust the persistent runlevel
rhn_register
# vi /etc/inittab change - id:3:initdefault:
/var/log/secure
rpm -q pkg.rpm --scripts
2. All messages sent at info priority or higher
/var/log/maillog
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
yum install firefox4
/var/log/messages
3. Install star
rpm -ql vsftpd
rpm localinstall pkg.rpm --nogpgcheck
# yum
yum provides
4. Contains RPM database
/var/lib/rpm
#iptables -I INPUT -p tcp --dport 21 -j Accept
vncviewer -via student@server6 localhost:2
$ tar czvf home.tar.gz /home
5. Search for command in the doc directory
insert as opposed to append
rpm -qc httpd
# ls -l /usr/share/doc | grep httpd
service sshd restart
6. Configuration file for system logs
# cat /var/log/messages | grep [Ff]ailed | less
/etc/rsyslog.conf
palimpsest
# virsh create /etc/libvert/qemu/vm_file_name.xml
7. Use lftp to connect
#rpm -qad [package name]
yum list
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
logwatch
8. Acting as a router with forwarding
#rpm -qa | grep [package name]
service ntpd restart
ip masqu
chkconfig httpd on
9. Edit files with cat until the _EOF is found
/etc/sysconfig/network
/var/log/secure
tar czvf /tmp/etc.tar.gz /etc
cat >> some_file << _EOF
10. Process packets coming into the system
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
system-config-date
IPtables input chain
/var/www/html/
11. Create a gzip-compressed backup of /etc in /tmp
rpm localinstall pkg.rpm --nogpgcheck
logwatch
/etc/rsyslog.conf
tar czvf /tmp/etc.tar.gz /etc
12. Process packets being forwarded through the system
#uname -r
#iptables -F
IPtables forward chain
yum update
13. Search for a package with firefox in the description
# vi /etc/inittab change - id:3:initdefault:
nautilus
rpm -qc httpd
yum search firefox
14. Stores filewall rules for the system.
/etc/sysconfig/vncservers rpm -ql tigervnc-server
system-config-date
/etc/rsyslog.conf
/etc/sysconfig/iptables
15. Remote file copy /home/test1.html to the /var/pub directory on server6
/etc/rsyslog.conf
ln -s /pub /var/www/html/pub
ssh-keygen
rsync /home/test1.html root@server6.example.com:/var/pub
16. Flush the firewall of all rules
IPtables forward chain
rpm -qc httpd
#iptables -F
yum list
17. List VMs
/etc/sysconfig/vncservers rpm -ql tigervnc-server
logwatch
add/remove software GUI
#virsh list
18. Grep with ignoring case
# grep -i
system-config-firewall tui
service vncserver restart chkconfig vncserver on
# vi /etc/inittab change - id:3:initdefault:
19. Set a VNC password
ssh-copy-id root@server6.example.com
/etc/rsyslog.conf
vncpasswd
/var/log/cron
20. Query all documentation with RPM
rpm -ql vsftpd
rpm -q pkg.rpm --scripts
#rpm -qad [package name]
ssh-keygen
21. Query configuration files with RPM
GUI menu system/administratrion/firewall
name-version-release.architecture.rpm
$ tar xzvf home.tar.gz /home
#rpm -qac [package name]
22. An example of searching through system logs with interpretation.
service sshd restart
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/etc/ssh/sshd_config
# cat /var/log/messages | grep [Ff]ailed | less
23. Search for a package within all packages
#rpm -qa | grep [package name]
vsftpd
#ip addr show
service vncserver restart chkconfig vncserver on
24. Restart the ntpd service
# star -x -f=home.star
service ntpd restart
rsync /home/test1.html root@server6.example.com:/var/pub
yum update
25. handles dependencies while RPMs do not uses preconfigured repos
#yum grouplist
Fully Qualified Domain Name
#yum
#virsh list
26. Searches for page within the #man yum
$ tar czvf home.tar.gz /home
#yum info [package name]
man search :/repository
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
27. Start a VM
rhn_register
# virsh create /etc/libvert/qemu/vm_file_name.xml
/dev
/etc/yum.repos.d/
28. Start GUI for Firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
name-version-release.architecture.rpm
/etc/ssh/sshd_config
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
29. Backup a home directory on desktop6 to /tmp on server6
/etc/yum.repos.d/
/etc/sysconfig/iptables
yum install tigervnc-server
rsync /home root@server6.example.com:/tmp
30. Update a package
# cat /var/log/messages | grep [Ff]ailed | less
rpm -q pkg.rpm --scripts
yum update
/etc/sysconfig/resolv.conf
31. Display packages that match the pathname
yum provides
/usr/share/doc/initscripts-*/sysconfig.txt
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
service ntpd restart
32. Connect with VNC viewer securely
#iptables -F
nautilus
vncviewer -via student@server6 localhost:2
add/remove software GUI
33. Repos for yum
rpm -qc httpd
#uname -r
yum list
/etc/yum.repos.d
34. Process packets coming out of the system
#virsh list
/usr/share/doc/initscripts-*/sysconfig.txt
#yum groupremove "group name"
IPtables output chain
35. Install a pkg.rpm locally
# star -x -f=home.star
yum install firefox4
rpm localinstall pkg.rpm --nogpgcheck
# virsh create /etc/libvert/qemu/vm_file_name.xml
36. Primary configuration of ssh
#rpm -uvh [package name]
yum provides "*/sbin/sshd"
.spec
/etc/ssh/sshd_config
37. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
#yum install [package name]
rsync /home root@server6.example.com:/tmp
MailTo=student@server6.example.com
nautilus
38. fqdn
/etc/sysconfig/network
*.debug /var/log/debug.log service rsyslog restart
name-version-release.architecture.rpm
Fully Qualified Domain Name
39. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
/usr/share/doc/initscripts-*/sysconfig.txt
/var/log/secure
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
service ntpd restart
40. Program to analyze standard log files and send a summary email to root
#ip addr show
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
logwatch
yum remove firefox4
41. Remove a package with yum
rpm -qp pkg.rpm
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
#uname -r
#yum remove [package name]
42. Import a public key
#iptables -D INPUT -p tcp --dport 21 -j accpet
system-config-date
rpm --import [public key location]
vncpasswd
43. List installed and available packages
yum list
#iptables -I INPUT -p tcp --dport 21 -j Accept
#uname -r
# vi /etc/inittab change - id:3:initdefault:
44. Messages related to cron log
/var/log/cron
#rpm -qac [package name]
#iptables -F
service vncserver restart chkconfig vncserver on
45. Kill a VM
# cat /var/log/messages | grep [Ff]ailed | less
.spec
#yum grouplist
#virsh destroy domain-id
46. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
logwatch
cp /home/test1.html /var/www/html/test1.html
palimpsest
updating the kernel
47. GUI install / uninstall with yum
add/remove software GUI
#yum groupremove "group name"
ntpdate -b instructor
/etc/sysconfig/vncservers rpm -ql tigervnc-server
48. Query information files with RPM
#rpm -qi [package name]
IPtables input chain
/etc/services
service ntpd restart
49. Uninstall a package group with yum
#yum groupremove "group name"
insert as opposed to append
vsftpd
$ grep -v ^# /etc/nsswitch.conf
50. original DNS config file - still used
system-config-firewall tui
/etc/sysconfig/vncservers rpm -ql tigervnc-server
/etc/sysconfig/resolv.conf
GUI menu system/administratrion/firewall
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