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. Extract a star compressed file
#rpm -qac [package name]
#yum remove [package name]
# ls -l /usr/share/doc | grep httpd
# star -x -f=home.star
2. Install with RPM
cp /home/test1.html /var/www/html/test1.html
#rpm -ivh [package name]
IPtables output chain
nautilus
3. Adjust the persistent runlevel
#virsh list
system-config-date
# vi /etc/inittab change - id:3:initdefault:
rpm -ql vsftpd
4. Contains RPM database
/var/lib/rpm
yum info firefox4
rpm -ql vsftpd
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
5. List scripts that can be run after installation of pkg.rpm
#rpm -ivh [package name]
rpm -q pkg.rpm --scripts
vsftpd
service ntpd restart
6. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
tar fzj
insert as opposed to append
cat >> some_file << _EOF
# yum
7. GUI File Manager
[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
yum provides
yum info firefox4
nautilus
8. Query information files with RPM
tar xvzf /tmp/etc.tar.gz /etc
vsftpd
tar fzj
#rpm -qi [package name]
9. Determine which package provides SSH
add/remove software GUI
rhn_register
rsync /home/test1.html root@server6.example.com:/var/pub
yum provides "*/sbin/sshd"
10. fqdn
Fully Qualified Domain Name
#iptables -D INPUT -p tcp --dport 21 -j accpet
service ntpd restart
#yum
11. Get information about a package named firefox4
rsync /home/test1.html root@server6.example.com:/var/pub
GUI menu system/administratrion/firewall
service ntpd restart
yum info firefox4
12. Display packages that match the pathname
.spec
rpm -qp pkg.rpm
yum provides
IPtables output chain
13. Persist FTP on boot
#yum remove [package name]
name-version-release.architecture.rpm
chkconfig vsftpd on
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
14. Copy a public ssh key to server6
/etc/services
ssh-copy-id root@server6.example.com
service vncserver restart chkconfig vncserver on
service sshd restart
15. Update a package
#iptables -L
yum update
vsftpd
GUI menu system/administratrion/firewall
16. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
insert as opposed to append
ssh-copy-id root@server6.example.com
yum info firefox4
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
17. See files installed with a package named vsftpd
rpm -ql vsftpd
#ip addr show
# vi /etc/inittab change - id:3:initdefault:
cat >> some_file << _EOF
18. Delete a rule from iptables
cat >> some_file << _EOF
#iptables -D INPUT -p tcp --dport 21 -j accpet
#yum groupinstall "group name"
chkconfig vsftpd on
19. original DNS config file - still used
$ grep -v ^# /etc/nsswitch.conf
/etc/sysconfig/resolv.conf
ip masqu
service vncserver restart chkconfig vncserver on
20. Flush the firewall of all rules
/dev
#iptables -L
#iptables -F
#rpm -qi [package name]
21. Import a public key
rpm --import [public key location]
/dev
rpm -qp pkg.rpm
#iptables -D INPUT -p tcp --dport 21 -j accpet
22. Remove a package named firefox4
yum remove firefox4
#virsh destroy domain-id
ssh-keygen
vsftpd restart
23. Query configuration files with RPM
/etc/sysconfig/iptables
system-config-date
tar xvzf /tmp/etc.tar.gz /etc
#rpm -qac [package name]
24. Install a pkg.rpm locally
nautilus
rpm localinstall pkg.rpm --nogpgcheck
/etc/yum.repos.d
*.debug /var/log/debug.log service rsyslog restart
25. Messages related to cron log
#yum info [package name]
# star -x -f=home.star
/var/log/cron
#uname -r
26. Stores IPtables rules (filter) chains - input forward output are persistant
yum install tigervnc-server
ln -s /pub /var/www/html/pub
# virsh create /etc/libvert/qemu/vm_file_name.xml
/etc/sysconfig/iptables
27. Get a list of package groups from yum
yum list
rpm -ql vsftpd
#rpm -qa | grep [package name]
#yum grouplist
28. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
#rpm -qad [package name]
cat >> some_file << _EOF
vsftpd restart
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
29. System config firewall
rsync -a /home/test1.html root@server6.example.com:/var/pub
GUI menu system/administratrion/firewall
vncviewer -via student@server6 localhost:2
#rpm -qa | grep [package name]
30. Install a package named firefox4
# star -xattr -H=exustar -c -f=home.star /home/
vncpasswd
yum install firefox4
IPtables forward chain
31. Process packets coming out of the system
IPtables output chain
#yum groupinstall "group name"
# cat /var/log/messages | grep [Ff]ailed | less
service vncserver restart chkconfig vncserver on
32. Disks available for partitions
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
cp /home/test1.html /var/www/html/test1.html
#yum remove [package name]
/dev
33. Set a VNC password
#rpm -qad [package name]
$ tar xzvf home.tar.gz /home
#yum grouplist
vncpasswd
34. Process packets being forwarded through the system
# grep -i
service ntpd restart
IPtables forward chain
ssh-keygen
35. Get more information on a package availale through yum
#ip addr show
#yum info [package name]
ntpdate -b instructor
#rpm -ivh [package name]
36. Extract /tmp/etc.tar.gz to /etc
tar czvf /tmp/etc.tar.gz /etc
ln -s /pub /var/www/html/pub
tar xvzf /tmp/etc.tar.gz /etc
#yum info [package name]
37. Local host file (contains hostname). Can contain local system DNS.
/usr/share/doc/initscripts-*/sysconfig.txt
/etc/ssh/sshd_config
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
/etc/hosts
38. Configuration for VNC
#virsh destroy domain-id
/etc/sysconfig/vncservers rpm -ql tigervnc-server
/etc/sysconfig/iptables
/etc/services
39. Remote file copy /home/test1.html to the /var/pub directory on server6
*.debug /var/log/debug.log service rsyslog restart
rsync /home/test1.html root@server6.example.com:/var/pub
/var/log/cron
ip masqu
40. Searches for page within the #man yum
chkconfig vsftpd on
man search :/repository
yum install tigervnc-server
/etc/sysconfig/network
41. An example of searching through system logs with interpretation.
ssh-copy-id root@server6.example.com
$ tar xzvf home.tar.gz /home
# cat /var/log/messages | grep [Ff]ailed | less
#rpm -qi [package name]
42. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
ssh-keygen
rhn_register
MailTo=student@server6.example.com
ln -s /pub /var/www/html/pub
43. RPM package naming
IPtables output chain
chkconfig httpd on
rpm -qc httpd
name-version-release.architecture.rpm
44. Generate SSH Keys
# vi /etc/inittab change - id:3:initdefault:
IPtables forward chain
rpm -ql vsftpd
ssh-keygen
45. Use lftp to connect
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
yum search firefox
palimpsest
46. Search for a package with firefox in the description
/var/log/messages
rpm --import [public key location]
yum search firefox
palimpsest
47. Send all debug level messages to /var/log/debug.log
vncpasswd
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
*.debug /var/log/debug.log service rsyslog restart
#iptables -D INPUT -p tcp --dport 21 -j accpet
48. See the configuration files installed with a package named httpd
vncpasswd
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
nautilus
rpm -qc httpd
49. Process packets coming into the system
IPtables input chain
#iptables -L
# yum
/usr/share/doc/initscripts-*/sysconfig.txt
50. tar options for file name - gzip - and bzip2
ssh-keygen
2>&1
tar fzj
add/remove software GUI
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