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. Send all debug level messages to /var/log/debug.log
chkconfig httpd on
/etc/services
yum update
*.debug /var/log/debug.log service rsyslog restart
2. Search for a package within all packages
tar fzj
#rpm -qa | grep [package name]
system-config-firewall tui
# cat /var/log/messages | grep [Ff]ailed | less
3. Persist FTP on boot
/etc/ssh/sshd_config
/var/lib/rpm
chkconfig vsftpd on
*.debug /var/log/debug.log service rsyslog restart
4. Process packets coming out of the system
yum install firefox4
rpm -qp pkg.rpm
logwatch
IPtables output chain
5. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#iptables -D INPUT -p tcp --dport 21 -j accpet
/var/log/messages
IPtables forward chain
6. Query information files with RPM
/etc/sysconfig/network
#iptables -L
service sshd restart
#rpm -qi [package name]
7. Copy a public ssh key to server6
insert as opposed to append
#rpm -qi [package name]
/dev
ssh-copy-id root@server6.example.com
8. Documentation about sysconfig network scripts
/usr/share/doc/initscripts-*/sysconfig.txt
/etc/sysconfig/resolv.conf
palimpsest
add/remove software GUI
9. Kill a VM
yum list
/etc/rsyslog.conf
#virsh destroy domain-id
ssh-keygen
10. Backup a home directory on desktop6 to /tmp on server6
# cat /var/log/messages | grep [Ff]ailed | less
#iptables -D INPUT -p tcp --dport 21 -j accpet
#uname -r
rsync /home root@server6.example.com:/tmp
11. Configuration for VNC
IPtables output chain
vsftpd restart
# yum
/etc/sysconfig/vncservers rpm -ql tigervnc-server
12. Local host file (contains hostname). Can contain local system DNS.
/etc/hosts
Fully Qualified Domain Name
ssh-keygen
yum remove firefox4
13. Repos for yum
/var/log/secure
ssh-copy-id root@server6.example.com
#yum info [package name]
/etc/yum.repos.d
14. List iptables
/var/log/cron
yum install firefox4
# ls -l /usr/share/doc | grep httpd
#iptables -L
15. Set a VNC password
#iptables -I INPUT -p tcp --dport 21 -j Accept
#iptables -D INPUT -p tcp --dport 21 -j accpet
vncpasswd
rsync /home/test1.html root@server6.example.com:/var/pub
16. Messages related to cron log
cat >> some_file << _EOF
rpm localinstall pkg.rpm --nogpgcheck
*.debug /var/log/debug.log service rsyslog restart
/var/log/cron
17. Extract /tmp/etc.tar.gz to /etc
#yum grouplist
man search :/repository
# yum
tar xvzf /tmp/etc.tar.gz /etc
18. Start the GUI for date configuration
tar xvzf /tmp/etc.tar.gz /etc
logwatch
# yum
system-config-date
19. Create a symbolic link to /pub on the FTP and name it pub
*.debug /var/log/debug.log service rsyslog restart
ln -s /pub /var/www/html/pub
#yum groupremove "group name"
# vi /etc/inittab change - id:3:initdefault:
20. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
ip masqu
#iptables -I INPUT -p tcp --dport 21 -j Accept
IPtables input chain
#yum info [package name]
21. Use lftp to connect
/var/log/messages
# ls -l /usr/share/doc | grep httpd
ip masqu
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
22. An example of searching through system logs with interpretation.
# star -x -f=home.star
insert as opposed to append
/etc/rsyslog.conf
# cat /var/log/messages | grep [Ff]ailed | less
23. Disks available for partitions
/etc/sysconfig/iptables
/dev
# vi /etc/inittab change - id:3:initdefault:
/var/log/secure
24. Restart vnc and persist on boot
tar czvf /tmp/etc.tar.gz /etc
rpm -qc httpd
/var/log/maillog
service vncserver restart chkconfig vncserver on
25. Primary configuration of ssh
ip masqu
IPtables forward chain
/etc/ssh/sshd_config
/var/log/cron
26. Where are HTML pages hosted?
/var/www/html/
/var/log/maillog
2>&1
# yum
27. Show IP address with the IP command
#ip addr show
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
service ntpd restart
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
28. Determine which package provides SSH
#yum install [package name]
yum provides "*/sbin/sshd"
tar xvzf /tmp/etc.tar.gz /etc
#rpm -qi [package name]
29. Local file copy of /home/test1.html to /var/www/html/test1.html
cp /home/test1.html /var/www/html/test1.html
#rpm -ivh [package name]
rhn_register
rpm -qp pkg.rpm
30. Install a package named firefox4
nautilus
Fully Qualified Domain Name
yum install firefox4
IPtables forward chain
31. See files installed with a package named vsftpd
*.debug /var/log/debug.log service rsyslog restart
# cat /var/log/messages | grep [Ff]ailed | less
#iptables -D INPUT -p tcp --dport 21 -j accpet
rpm -ql vsftpd
32. Install a package with yum
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
# virsh create /etc/libvert/qemu/vm_file_name.xml
#yum install [package name]
# vi /etc/inittab change - id:3:initdefault:
33. System config firewall
#iptables -I INPUT -p tcp --dport 21 -j Accept
#virsh destroy domain-id
GUI menu system/administratrion/firewall
vsftpd restart
34. Install a pkg.rpm locally
/etc/rsyslog.conf
#yum groupremove "group name"
#yum remove [package name]
rpm localinstall pkg.rpm --nogpgcheck
35. All messages sent at info priority or higher
#rpm -qa | grep [package name]
/var/log/messages
#yum install [package name]
ip masqu
36. Rpm upgrade package u upgrade v verbose h hash
#iptables -F
#rpm -uvh [package name]
cat >> some_file << _EOF
/dev
37. Get more information on a package availale through yum
/etc/sysconfig/iptables
# star -x -f=home.star
#yum info [package name]
logwatch
38. Disk Utility Command
/etc/sysconfig/resolv.conf
palimpsest
#rpm -qi [package name]
#rpm -qad [package name]
39. List VMs
#yum remove [package name]
#rpm -uvh [package name]
#virsh list
#virsh destroy domain-id
40. Configuration file for system logs
/etc/services
tar xvzf /tmp/etc.tar.gz /etc
/etc/sysconfig/iptables
/etc/rsyslog.conf
41. fqdn
insert as opposed to append
add/remove software GUI
Fully Qualified Domain Name
#yum info [package name]
42. List scripts that can be run after installation of pkg.rpm
IPtables forward chain
palimpsest
[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
rpm -q pkg.rpm --scripts
43. Repo config file
/dev
[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
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
$ tar czvf home.tar.gz /home
44. Search for a package with firefox in the description
yum info firefox4
yum search firefox
insert as opposed to append
/usr/share/doc/initscripts-*/sysconfig.txt
45. Generate SSH Keys
/var/www/html/
ssh-keygen
#yum info [package name]
.spec
46. Authentication related messages log
updating the kernel
rsync /home root@server6.example.com:/tmp
/var/log/secure
ntpdate -b instructor
47. Restart the ntpd service
man search :/repository
#yum grouplist
service ntpd restart
#virsh list
48. Install the VNC server package
yum install tigervnc-server
ip masqu
palimpsest
/etc/ssh/sshd_config
49. Create a tar ball with gzip compression of the home dir
$ tar czvf home.tar.gz /home
# vi /etc/inittab change - id:3:initdefault:
cat >> some_file << _EOF
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
50. Restart ssh services
yum list
yum install firefox4
service sshd restart
vncpasswd
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