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. Determine which package provides SSH
yum provides "*/sbin/sshd"
# vi /etc/inittab change - id:3:initdefault:
vsftpd
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
2. Extract /tmp/etc.tar.gz to /etc
yum install tigervnc-server
tar xvzf /tmp/etc.tar.gz /etc
ssh-copy-id root@server6.example.com
GUI menu system/administratrion/firewall
3. tar options for file name - gzip - and bzip2
/var/www/html/
$ grep -v ^# /etc/nsswitch.conf
vsftpd restart
tar fzj
4. Rpm upgrade package u upgrade v verbose h hash
yum list
/var/lib/rpm
#rpm -uvh [package name]
man search :/repository
5. Get information about a package named firefox4
/var/lib/rpm
yum info firefox4
#ip addr show
#iptables -F
6. Connect with VNC viewer securely
#rpm -qi [package name]
vncviewer -via student@server6 localhost:2
#yum info [package name]
service ntpd restart
7. Restart the ntpd service
/var/www/html/
rpm -ql vsftpd
service ntpd restart
rpm --import [public key location]
8. Install with RPM
#rpm -ivh [package name]
# star -xattr -H=exustar -c -f=home.star /home/
# grep -i
#yum info [package name]
9. Stores filewall rules for the system.
vncpasswd
# virsh create /etc/libvert/qemu/vm_file_name.xml
/etc/sysconfig/iptables
ip masqu
10. Create a tar ball with gzip compression of the home dir
$ tar czvf home.tar.gz /home
service vncserver restart chkconfig vncserver on
#iptables -I INPUT -p tcp --dport 21 -j Accept
#virsh destroy domain-id
11. Extract a star compressed file
tar fzj
# star -x -f=home.star
/etc/yum.repos.d
chkconfig vsftpd on
12. Search for command in the doc directory
vncviewer -via student@server6 localhost:2
2>&1
# ls -l /usr/share/doc | grep httpd
/etc/hosts
13. Edit files with cat until the _EOF is found
cat >> some_file << _EOF
tar czvf /tmp/etc.tar.gz /etc
#iptables -F
/var/log/secure
14. Repos for yum
service sshd restart
/etc/yum.repos.d
nautilus
MailTo=student@server6.example.com
15. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
*.debug /var/log/debug.log service rsyslog restart
insert as opposed to append
#yum install [package name]
#uname -r
16. Acting as a router with forwarding
/etc/services
rpm -qp pkg.rpm
ip masqu
nautilus
17. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
# cat /var/log/messages | grep [Ff]ailed | less
/etc/sysconfig/network
#yum groupremove "group name"
tar fzj
18. Remove a package with yum
#yum remove [package name]
#yum groupinstall "group name"
tar xvzf /tmp/etc.tar.gz /etc
/etc/hosts
19. Process packets being forwarded through the system
/etc/ssh/sshd_config
ln -s /pub /var/www/html/pub
rhn_register
IPtables forward chain
20. Adjust the persistent runlevel
#iptables -D INPUT -p tcp --dport 21 -j accpet
#yum
/var/log/cron
# vi /etc/inittab change - id:3:initdefault:
21. original DNS config file - still used
nautilus
man search :/repository
MailTo=student@server6.example.com
/etc/sysconfig/resolv.conf
22. Process packets coming out of the system
IPtables output chain
service sshd restart
2>&1
tar cxtv
23. Where are HTML pages hosted?
/var/www/html/
yum provides "*/sbin/sshd"
#virsh list
$ grep -v ^# /etc/nsswitch.conf
24. GUI File Manager
#iptables -I INPUT -p tcp --dport 21 -j Accept
rsync /home/test1.html root@server6.example.com:/var/pub
nautilus
ln -s /pub /var/www/html/pub
25. Messages related to cron log
#yum
tar xvzf /tmp/etc.tar.gz /etc
/var/log/cron
#yum remove [package name]
26. Delete a rule from iptables
#iptables -D INPUT -p tcp --dport 21 -j accpet
# virsh create /etc/libvert/qemu/vm_file_name.xml
rpm --import [public key location]
chkconfig httpd on
27. Query information files with RPM
#rpm -qi [package name]
nautilus
/var/lib/rpm
/etc/sysconfig/vncservers rpm -ql tigervnc-server
28. Shell config tool gropued like GUI firewall configurater.
system-config-date
#rpm -qi [package name]
cat >> some_file << _EOF
system-config-firewall tui
29. Start GUI for Firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#iptables -F
/var/log/cron
tar fzj
30. See the configuration files installed with a package named httpd
rhn_register
yum install tigervnc-server
*.debug /var/log/debug.log service rsyslog restart
rpm -qc httpd
31. handles dependencies while RPMs do not uses preconfigured repos
/var/log/maillog
rpm -q pkg.rpm --scripts
#yum
/var/log/messages
32. Create a symbolic link to /pub on the FTP and name it pub
ln -s /pub /var/www/html/pub
yum remove firefox4
#rpm -qac [package name]
yum search firefox
33. GUI install / uninstall with yum
2>&1
/etc/sysconfig/resolv.conf
add/remove software GUI
service vncserver restart chkconfig vncserver on
34. Install a package named firefox4
yum install firefox4
logwatch
rsync /home root@server6.example.com:/tmp
chkconfig vsftpd on
35. Grep for lines that do not match (-v)
$ grep -v ^# /etc/nsswitch.conf
# renice -10 proc-id
/var/log/secure
vncpasswd
36. Configuration for VNC
rpm localinstall pkg.rpm --nogpgcheck
vncviewer -via student@server6 localhost:2
insert as opposed to append
/etc/sysconfig/vncservers rpm -ql tigervnc-server
37. Primary configuration of ssh
#yum grouplist
#yum install [package name]
[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
/etc/ssh/sshd_config
38. Extract a gzipped tar ball in your home directory
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
$ tar xzvf home.tar.gz /home
cat >> some_file << _EOF
#rpm -qad [package name]
39. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
/etc/sysconfig/network
rpm -qp pkg.rpm
MailTo=student@server6.example.com
tar czvf /tmp/etc.tar.gz /etc
40. Disks available for partitions
/dev
name-version-release.architecture.rpm
tar xvzf /tmp/etc.tar.gz /etc
# yum
41. Persist the web server on boot
chkconfig httpd on
/etc/rsyslog.conf
ssh-keygen
rpm -qc httpd
42. Kill a VM
#virsh destroy domain-id
system-config-date
cp /home/test1.html /var/www/html/test1.html
rsync -a /home/test1.html root@server6.example.com:/var/pub
43. Sync ntp time with the instructor
ntpdate -b instructor
#ip addr show
/etc/sysconfig/vncservers rpm -ql tigervnc-server
#virsh destroy domain-id
44. Restart vnc and persist on boot
service vncserver restart chkconfig vncserver on
#virsh list
#uname -r
ln -s /pub /var/www/html/pub
45. Remote file copy /home/test1.html to the /var/pub directory on server6
/etc/sysconfig/iptables
rsync /home/test1.html root@server6.example.com:/var/pub
#virsh destroy domain-id
system-config-firewall tui
46. Disk Utility Command
#yum groupremove "group name"
#rpm -qa | grep [package name]
palimpsest
ln -s /pub /var/www/html/pub
47. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
updating the kernel
rsync -a /home/test1.html root@server6.example.com:/var/pub
#uname -r
# ls -l /usr/share/doc | grep httpd
48. Program to analyze standard log files and send a summary email to root
ip masqu
rpm localinstall pkg.rpm --nogpgcheck
# renice -10 proc-id
logwatch
49. tar options for create - extract - test - and verbose
tar czvf /tmp/etc.tar.gz /etc
palimpsest
tar cxtv
yum provides
50. An example of searching through system logs with interpretation.
# cat /var/log/messages | grep [Ff]ailed | less
rpm -q pkg.rpm --scripts
#yum groupinstall "group name"
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