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. Copy a public ssh key to server6
$ tar xzvf home.tar.gz /home
ssh-copy-id root@server6.example.com
#yum remove [package name]
/etc/sysconfig/network
2. Process packets coming into the system
cat >> some_file << _EOF
IPtables input chain
yum search firefox
rpm -qp pkg.rpm
3. RPM package naming
name-version-release.architecture.rpm
cat >> some_file << _EOF
/var/www/html/
/etc/ssh/sshd_config
4. Start vsftp service
vsftpd restart
#ip addr show
yum info firefox4
/etc/rsyslog.conf
5. Update a package
system-config-date
yum update
vncpasswd
/etc/services
6. System config firewall
GUI menu system/administratrion/firewall
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#yum grouplist
/etc/sysconfig/iptables
7. Email related messages log
/etc/yum.repos.d/
/var/log/maillog
GUI menu system/administratrion/firewall
/etc/sysconfig/network
8. Install the star compression tool create an archive with the star tool.
ntpdate -b instructor
# star -xattr -H=exustar -c -f=home.star /home/
#yum info [package name]
cat >> some_file << _EOF
9. Redirect errors to std out
2>&1
/etc/yum.repos.d
palimpsest
vncviewer -via student@server6 localhost:2
10. Stores filewall rules for the system.
vsftpd restart
/etc/sysconfig/network
Fully Qualified Domain Name
/etc/sysconfig/iptables
11. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/sysconfig/iptables
ssh-copy-id root@server6.example.com
rhn_register
#yum install [package name]
12. Install a package named firefox4
yum install firefox4
ln -s /pub /var/www/html/pub
#yum groupremove "group name"
*.debug /var/log/debug.log service rsyslog restart
13. Configuration file for system logs
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/etc/rsyslog.conf
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
ln -s /pub /var/www/html/pub
14. Register on the RHN
ip masqu
man search :/repository
rhn_register
$ tar czvf home.tar.gz /home
15. Remote file copy /home/test1.html to the /var/pub directory on server6
rsync /home/test1.html root@server6.example.com:/var/pub
*.debug /var/log/debug.log service rsyslog restart
/etc/ssh/sshd_config
cat >> some_file << _EOF
16. Install the VNC server package
/etc/sysconfig/network
$ tar xzvf home.tar.gz /home
yum install tigervnc-server
yum update
17. Uninstall a package group with yum
[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
# renice -10 proc-id
#yum groupremove "group name"
/etc/sysconfig/iptables
18. Local file copy of /home/test1.html to /var/www/html/test1.html
rpm -q pkg.rpm --scripts
ip masqu
cp /home/test1.html /var/www/html/test1.html
palimpsest
19. Connect with VNC viewer securely
updating the kernel
vncviewer -via student@server6 localhost:2
yum remove firefox4
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
20. Flush the firewall of all rules
IPtables output chain
yum provides "*/sbin/sshd"
#iptables -F
#rpm -uvh [package name]
21. Persist the web server on boot
system-config-date
#yum groupremove "group name"
ip masqu
chkconfig httpd on
22. Start the GUI for date configuration
insert as opposed to append
IPtables output chain
#rpm -uvh [package name]
system-config-date
23. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
# virsh create /etc/libvert/qemu/vm_file_name.xml
insert as opposed to append
#yum
rpm -qc httpd
24. Restart ssh services
#iptables -L
/dev
#iptables -F
service sshd restart
25. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
Fully Qualified Domain Name
cat >> some_file << _EOF
chkconfig vsftpd on
rsync -a /home/test1.html root@server6.example.com:/var/pub
26. GUI File Manager
/etc/sysconfig/iptables
#rpm -qac [package name]
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
nautilus
27. Process packets coming out of the system
rpm localinstall pkg.rpm --nogpgcheck
/etc/rsyslog.conf
IPtables output chain
vncviewer -via student@server6 localhost:2
28. Get a list of package groups from yum
/etc/sysconfig/resolv.conf
#iptables -F
#yum grouplist
updating the kernel
29. Create a gzip-compressed backup of /etc in /tmp
tar czvf /tmp/etc.tar.gz /etc
#virsh destroy domain-id
yum provides "*/sbin/sshd"
IPtables output chain
30. Backup a home directory on desktop6 to /tmp on server6
/var/www/html/
/var/lib/rpm
#virsh destroy domain-id
rsync /home root@server6.example.com:/tmp
31. Authentication related messages log
vncpasswd
/etc/sysconfig/network
/var/log/secure
IPtables output chain
32. GUI install / uninstall with yum
# renice -10 proc-id
#rpm -qac [package name]
add/remove software GUI
# virsh create /etc/libvert/qemu/vm_file_name.xml
33. Show IP address with the IP command
#ip addr show
rpm -q pkg.rpm --scripts
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#rpm -qa | grep [package name]
34. Sync ntp time with the instructor
$ tar xzvf home.tar.gz /home
ntpdate -b instructor
#virsh destroy domain-id
system-config-firewall tui
35. Repo config file
/var/log/secure
[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
updating the kernel
/etc/services
36. Determine which package provides SSH
yum provides "*/sbin/sshd"
rpm -q pkg.rpm --scripts
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/etc/rsyslog.conf
37. See the configuration files installed with a package named httpd
service ntpd restart
rpm -qc httpd
rpm -ql vsftpd
rpm --import [public key location]
38. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
vncpasswd
/var/log/messages
rpm --import [public key location]
updating the kernel
39. Messages related to cron log
ln -s /pub /var/www/html/pub
# grep -i
/var/log/cron
$ tar czvf home.tar.gz /home
40. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
system-config-firewall tui
2>&1
updating the kernel
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
41. Extract /tmp/etc.tar.gz to /etc
cp /home/test1.html /var/www/html/test1.html
#rpm -qac [package name]
/etc/rsyslog.conf
tar xvzf /tmp/etc.tar.gz /etc
42. Grep for lines that do not match (-v)
IPtables input chain
rpm localinstall pkg.rpm --nogpgcheck
$ grep -v ^# /etc/nsswitch.conf
tar cxtv
43. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
#yum grouplist
rpm -q pkg.rpm --scripts
.spec
44. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
system-config-date
[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
#iptables -I INPUT -p tcp --dport 21 -j Accept
rpm --import [public key location]
45. List VMs
#virsh list
/etc/sysconfig/iptables
Fully Qualified Domain Name
#rpm -qad [package name]
46. Remove a package named firefox4
yum update
yum remove firefox4
yum list
IPtables output chain
47. Contains RPM database
cp /home/test1.html /var/www/html/test1.html
logwatch
# renice -10 proc-id
/var/lib/rpm
48. Install a package with yum
#rpm -uvh [package name]
#yum install [package name]
chkconfig vsftpd on
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
49. Install a package group with yum
#yum groupinstall "group name"
service sshd restart
#uname -r
name-version-release.architecture.rpm
50. Search for a package within all packages
#rpm -qa | grep [package name]
#yum info [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
name-version-release.architecture.rpm
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