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. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
vncpasswd
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
add/remove software GUI
2. Where are HTML pages hosted?
Fully Qualified Domain Name
rsync /home root@server6.example.com:/tmp
/var/www/html/
IPtables forward chain
3. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
.spec
# grep -i
[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 -qac [package name]
4. GUI File Manager
#yum
nautilus
# yum
updating the kernel
5. An example of searching through system logs with interpretation.
rpm -qp pkg.rpm
MailTo=student@server6.example.com
# cat /var/log/messages | grep [Ff]ailed | less
$ tar xzvf home.tar.gz /home
6. Persist the web server on boot
chkconfig httpd on
# renice -10 proc-id
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
rsync -a /home/test1.html root@server6.example.com:/var/pub
7. Update a package
chkconfig vsftpd on
yum info firefox4
#uname -r
yum update
8. Backup a home directory on desktop6 to /tmp on server6
rsync /home root@server6.example.com:/tmp
/var/log/maillog
cat >> some_file << _EOF
ssh-keygen
9. Persist FTP on boot
chkconfig vsftpd on
/usr/share/doc/initscripts-*/sysconfig.txt
# cat /var/log/messages | grep [Ff]ailed | less
vncviewer -via student@server6 localhost:2
10. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
#yum groupremove "group name"
MailTo=student@server6.example.com
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
IPtables output chain
11. Install with RPM
rsync /home root@server6.example.com:/tmp
ssh-copy-id root@server6.example.com
#rpm -ivh [package name]
/var/log/maillog
12. System config firewall
#rpm -qad [package name]
rpm localinstall pkg.rpm --nogpgcheck
GUI menu system/administratrion/firewall
ip masqu
13. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
rsync -a /home/test1.html root@server6.example.com:/var/pub
yum search firefox
GUI menu system/administratrion/firewall
#uname -r
14. Remove a package named firefox4
yum remove firefox4
yum provides
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
# star -x -f=home.star
15. Get more information on a package availale through yum
#yum grouplist
# ls -l /usr/share/doc | grep httpd
#yum info [package name]
yum provides "*/sbin/sshd"
16. Authentication related messages log
/var/www/html/
yum info firefox4
/var/log/secure
# star -xattr -H=exustar -c -f=home.star /home/
17. List VMs
tar xvzf /tmp/etc.tar.gz /etc
system-config-firewall tui
#virsh list
IPtables input chain
18. Install star
/var/www/html/
/etc/yum.repos.d/
rpm localinstall pkg.rpm --nogpgcheck
# yum
19. tar options for create - extract - test - and verbose
tar cxtv
# star -x -f=home.star
#yum info [package name]
updating the kernel
20. Search for a package within all packages
#rpm -qa | grep [package name]
#yum groupremove "group name"
ssh-copy-id root@server6.example.com
#iptables -D INPUT -p tcp --dport 21 -j accpet
21. Generate SSH Keys
# cat /var/log/messages | grep [Ff]ailed | less
ssh-keygen
# grep -i
#yum remove [package name]
22. Restart ssh services
[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
/var/log/messages
chkconfig vsftpd on
service sshd restart
23. Local file copy of /home/test1.html to /var/www/html/test1.html
/usr/share/doc/initscripts-*/sysconfig.txt
yum install tigervnc-server
cp /home/test1.html /var/www/html/test1.html
[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
24. Create a symbolic link to /pub on the FTP and name it pub
rpm -ql vsftpd
ln -s /pub /var/www/html/pub
IPtables input chain
ntpdate -b instructor
25. Send all debug level messages to /var/log/debug.log
#rpm -qa | grep [package name]
rpm -q pkg.rpm --scripts
*.debug /var/log/debug.log service rsyslog restart
# ls -l /usr/share/doc | grep httpd
26. fqdn
#rpm -qa | grep [package name]
vncpasswd
Fully Qualified Domain Name
/etc/ssh/sshd_config
27. tar options for file name - gzip - and bzip2
service vncserver restart chkconfig vncserver on
tar fzj
/var/log/messages
/etc/sysconfig/iptables
28. Acting as a router with forwarding
#iptables -D INPUT -p tcp --dport 21 -j accpet
cp /home/test1.html /var/www/html/test1.html
Fully Qualified Domain Name
ip masqu
29. Search for a package with firefox in the description
yum install tigervnc-server
rsync /home/test1.html root@server6.example.com:/var/pub
yum search firefox
/etc/ssh/sshd_config
30. Restart vnc and persist on boot
service vncserver restart chkconfig vncserver on
chkconfig httpd on
vncpasswd
/etc/yum.repos.d
31. original DNS config file - still used
/etc/sysconfig/iptables
vsftpd restart
/etc/sysconfig/network
/etc/sysconfig/resolv.conf
32. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
$ tar czvf home.tar.gz /home
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#virsh destroy domain-id
33. Sync ntp time with the instructor
ntpdate -b instructor
#yum info [package name]
# virsh create /etc/libvert/qemu/vm_file_name.xml
#rpm -qac [package name]
34. Contains RPM database
# grep -i
# star -xattr -H=exustar -c -f=home.star /home/
/var/lib/rpm
#virsh list
35. Start the GUI for date configuration
system-config-date
/etc/sysconfig/iptables
#rpm -qac [package name]
/var/log/cron
36. Install a pkg.rpm locally
/etc/sysconfig/network
palimpsest
rpm localinstall pkg.rpm --nogpgcheck
yum install tigervnc-server
37. Disk Utility Command
ntpdate -b instructor
logwatch
system-config-date
palimpsest
38. Gets kernel version and release number
insert as opposed to append
$ tar xzvf home.tar.gz /home
IPtables input chain
#uname -r
39. Configuration for VNC
nautilus
rpm --import [public key location]
/etc/sysconfig/network
/etc/sysconfig/vncservers rpm -ql tigervnc-server
40. Searches for page within the #man yum
man search :/repository
#virsh destroy domain-id
#iptables -L
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
41. Disks available for partitions
# vi /etc/inittab change - id:3:initdefault:
vncviewer -via student@server6 localhost:2
/dev
# yum
42. Get information about a package named firefox4
yum info firefox4
nautilus
[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 -qac [package name]
43. Email related messages log
system-config-date
/etc/rsyslog.conf
/var/log/maillog
IPtables forward chain
44. Process packets coming into the system
system-config-date
IPtables input chain
vsftpd
#ip addr show
45. Install the VNC server package
/etc/sysconfig/network
/var/www/html/
yum install tigervnc-server
/etc/sysconfig/iptables
46. Register on the RHN
cat >> some_file << _EOF
rhn_register
system-config-date
cp /home/test1.html /var/www/html/test1.html
47. Redirect errors to std out
# star -x -f=home.star
$ tar xzvf home.tar.gz /home
/var/log/messages
2>&1
48. Stores IPtables rules (filter) chains - input forward output are persistant
# star -x -f=home.star
/etc/sysconfig/iptables
GUI menu system/administratrion/firewall
#yum remove [package name]
49. List iptables
#iptables -L
ntpdate -b instructor
yum provides
.spec
50. Install a package named firefox4
yum install firefox4
ssh-copy-id root@server6.example.com
rpm --import [public key location]
ntpdate -b instructor
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