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. Install a package named firefox4
rpm --import [public key location]
GUI menu system/administratrion/firewall
yum install firefox4
# star -x -f=home.star
2. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
ntpdate -b instructor
*.debug /var/log/debug.log service rsyslog restart
.spec
#yum
3. Package file named pkg.rpm
/etc/sysconfig/iptables
rpm -qp pkg.rpm
/etc/sysconfig/network
palimpsest
4. List iptables
tar fzj
rpm -qp pkg.rpm
#iptables -I INPUT -p tcp --dport 21 -j Accept
#iptables -L
5. System config firewall
#yum remove [package name]
GUI menu system/administratrion/firewall
#rpm -ivh [package name]
/var/log/messages
6. Disk Utility Command
#virsh list
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
yum remove firefox4
palimpsest
7. All messages sent at info priority or higher
/var/log/messages
#rpm -qad [package name]
2>&1
chkconfig httpd on
8. Gets kernel version and release number
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#uname -r
system-config-date
#rpm -qac [package name]
9. Local host file (contains hostname). Can contain local system DNS.
GUI menu system/administratrion/firewall
yum update
/etc/hosts
$ tar czvf home.tar.gz /home
10. Create a tar ball with gzip compression of the home dir
yum provides
palimpsest
rsync /home/test1.html root@server6.example.com:/var/pub
$ tar czvf home.tar.gz /home
11. Shell config tool gropued like GUI firewall configurater.
Fully Qualified Domain Name
rpm -ql vsftpd
rsync -a /home/test1.html root@server6.example.com:/var/pub
system-config-firewall tui
12. Backup a home directory on desktop6 to /tmp on server6
ntpdate -b instructor
/var/log/cron
tar fzj
rsync /home root@server6.example.com:/tmp
13. Acting as a router with forwarding
rsync /home/test1.html root@server6.example.com:/var/pub
#iptables -F
ip masqu
chkconfig httpd on
14. Persist the web server on boot
yum list
/etc/rsyslog.conf
.spec
chkconfig httpd on
15. An example of searching through system logs with interpretation.
# cat /var/log/messages | grep [Ff]ailed | less
updating the kernel
$ grep -v ^# /etc/nsswitch.conf
yum install tigervnc-server
16. Extract /tmp/etc.tar.gz to /etc
tar xvzf /tmp/etc.tar.gz /etc
nautilus
#rpm -qad [package name]
logwatch
17. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
/var/lib/rpm
nautilus
#yum groupinstall "group name"
rsync -a /home/test1.html root@server6.example.com:/var/pub
18. Sync ntp time with the instructor
tar xvzf /tmp/etc.tar.gz /etc
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#ip addr show
ntpdate -b instructor
19. GUI File Manager
nautilus
tar xvzf /tmp/etc.tar.gz /etc
/var/lib/rpm
IPtables input chain
20. Determine which package provides SSH
.spec
yum provides "*/sbin/sshd"
#iptables -D INPUT -p tcp --dport 21 -j accpet
#yum groupinstall "group name"
21. Search for command in the doc directory
# ls -l /usr/share/doc | grep httpd
# virsh create /etc/libvert/qemu/vm_file_name.xml
#yum info [package name]
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
22. Restart ssh services
service sshd restart
yum list
/etc/rsyslog.conf
$ grep -v ^# /etc/nsswitch.conf
23. tar options for file name - gzip - and bzip2
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
updating the kernel
tar fzj
ln -s /pub /var/www/html/pub
24. Extract a star compressed file
/var/log/messages
# star -x -f=home.star
add/remove software GUI
/etc/yum.repos.d/
25. Repos for yum
/etc/yum.repos.d
yum update
#iptables -D INPUT -p tcp --dport 21 -j accpet
#rpm -ivh [package name]
26. Register on the RHN
*.debug /var/log/debug.log service rsyslog restart
yum remove firefox4
/etc/yum.repos.d
rhn_register
27. Set process priority with renice - -20 highest - 20 lowest - 0 is default
vsftpd
# renice -10 proc-id
#yum groupremove "group name"
yum list
28. Rpm upgrade package u upgrade v verbose h hash
#rpm -uvh [package name]
ip masqu
add/remove software GUI
#yum groupremove "group name"
29. Stores IPtables rules (filter) chains - input forward output are persistant
tar fzj
/etc/sysconfig/iptables
IPtables input chain
ln -s /pub /var/www/html/pub
30. Create a symbolic link to /pub on the FTP and name it pub
#iptables -L
cat >> some_file << _EOF
.spec
ln -s /pub /var/www/html/pub
31. Install with RPM
#rpm -ivh [package name]
vncpasswd
rpm -qp pkg.rpm
yum update
32. Configuration for VNC
add/remove software GUI
ssh-keygen
/etc/sysconfig/vncservers rpm -ql tigervnc-server
system-config-firewall tui
33. Query information files with RPM
#rpm -qi [package name]
#yum
rsync /home root@server6.example.com:/tmp
*.debug /var/log/debug.log service rsyslog restart
34. Install a package group with yum
#yum groupinstall "group name"
/etc/ssh/sshd_config
#yum groupremove "group name"
service vncserver restart chkconfig vncserver on
35. Install a package with yum
# star -x -f=home.star
man search :/repository
#yum install [package name]
yum provides
36. Generate SSH Keys
#uname -r
ssh-keygen
/etc/sysconfig/iptables
*.debug /var/log/debug.log service rsyslog restart
37. Start a VM
#virsh list
# virsh create /etc/libvert/qemu/vm_file_name.xml
2>&1
#uname -r
38. Query configuration files with RPM
ntpdate -b instructor
#rpm -qac [package name]
yum remove firefox4
yum update
39. tar options for create - extract - test - and verbose
ip masqu
.spec
tar cxtv
/etc/yum.repos.d
40. Adjust the persistent runlevel
#virsh list
# vi /etc/inittab change - id:3:initdefault:
/etc/hosts
#yum
41. FTP package used in RHEL 6
system-config-firewall tui
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
rpm localinstall pkg.rpm --nogpgcheck
vsftpd
42. Grep for lines that do not match (-v)
#virsh destroy domain-id
.spec
#yum groupremove "group name"
$ grep -v ^# /etc/nsswitch.conf
43. 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
nautilus
yum provides "*/sbin/sshd"
/etc/sysconfig/network
44. GUI install / uninstall with yum
rpm --import [public key location]
#iptables -I INPUT -p tcp --dport 21 -j Accept
/var/www/html/
add/remove software GUI
45. Use lftp to connect
#iptables -L
/etc/hosts
#ip addr show
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
46. Persist FTP on boot
chkconfig vsftpd on
tar cxtv
/var/log/maillog
cat >> some_file << _EOF
47. Get information about a package named firefox4
#rpm -qad [package name]
yum info firefox4
yum install firefox4
# star -xattr -H=exustar -c -f=home.star /home/
48. Stores filewall rules for the system.
rsync -a /home/test1.html root@server6.example.com:/var/pub
$ tar xzvf home.tar.gz /home
/etc/sysconfig/iptables
rsync /home root@server6.example.com:/tmp
49. See files installed with a package named vsftpd
rpm -ql vsftpd
insert as opposed to append
system-config-date
/var/log/messages
50. Email related messages log
/var/log/maillog
chkconfig vsftpd on
/dev
tar czvf /tmp/etc.tar.gz /etc
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