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. RPM package naming
#rpm -qa | grep [package name]
#yum
name-version-release.architecture.rpm
$ tar czvf home.tar.gz /home
2. Where are HTML pages hosted?
/var/www/html/
# cat /var/log/messages | grep [Ff]ailed | less
IPtables output chain
yum list
3. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
/etc/rsyslog.conf
vsftpd restart
rpm -ql vsftpd
4. Remote file copy /home/test1.html to the /var/pub directory on server6
#virsh list
rsync /home root@server6.example.com:/tmp
rpm -q pkg.rpm --scripts
rsync /home/test1.html root@server6.example.com:/var/pub
5. Install star
#rpm -qac [package name]
system-config-date
# yum
#rpm -qa | grep [package name]
6. Extract a gzipped tar ball in your home directory
ntpdate -b instructor
$ tar xzvf home.tar.gz /home
# ls -l /usr/share/doc | grep httpd
# renice -10 proc-id
7. Restart the ntpd service
chkconfig vsftpd on
#uname -r
service ntpd restart
# star -x -f=home.star
8. Display packages that match the pathname
#rpm -qad [package name]
# grep -i
/etc/rsyslog.conf
yum provides
9. Uninstall a package group with yum
system-config-firewall tui
tar fzj
#yum groupremove "group name"
# yum
10. Create a tar ball with gzip compression of the home dir
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
rpm -qc httpd
#iptables -F
$ tar czvf home.tar.gz /home
11. Location of repo's
IPtables forward chain
/etc/yum.repos.d/
yum list
#yum groupremove "group name"
12. Acting as a router with forwarding
tar czvf /tmp/etc.tar.gz /etc
ip masqu
/var/www/html/
rsync /home/test1.html root@server6.example.com:/var/pub
13. Remove a package with yum
yum remove firefox4
$ tar xzvf home.tar.gz /home
rsync /home/test1.html root@server6.example.com:/var/pub
#yum remove [package name]
14. List VMs
#virsh list
palimpsest
cat >> some_file << _EOF
# yum
15. Edit files with cat until the _EOF is found
IPtables output chain
$ tar xzvf home.tar.gz /home
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
cat >> some_file << _EOF
16. Install the VNC server package
/var/log/messages
palimpsest
yum install tigervnc-server
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
17. Get a list of package groups from yum
rpm --import [public key location]
#yum grouplist
#yum
rpm localinstall pkg.rpm --nogpgcheck
18. Search for a package within all packages
/etc/sysconfig/iptables
#rpm -qa | grep [package name]
ip masqu
system-config-date
19. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/etc/sysconfig/iptables
/etc/sysconfig/network
vsftpd restart
system-config-firewall tui
20. Start vsftp service
service ntpd restart
rpm -qp pkg.rpm
#rpm -ivh [package name]
vsftpd restart
21. System config firewall
#uname -r
# yum
/var/log/maillog
GUI menu system/administratrion/firewall
22. Update a package
yum provides "*/sbin/sshd"
yum update
chkconfig httpd on
rsync /home/test1.html root@server6.example.com:/var/pub
23. Restart vnc and persist on boot
#rpm -uvh [package name]
service vncserver restart chkconfig vncserver on
/usr/share/doc/initscripts-*/sysconfig.txt
#rpm -qi [package name]
24. Restart ssh services
ssh-keygen
service sshd restart
GUI menu system/administratrion/firewall
#yum install [package name]
25. Process packets coming into the system
yum provides "*/sbin/sshd"
#iptables -L
IPtables input chain
#rpm -qac [package name]
26. All messages sent at info priority or higher
name-version-release.architecture.rpm
/var/log/messages
yum info firefox4
#uname -r
27. Configuration for VNC
/etc/sysconfig/vncservers rpm -ql tigervnc-server
yum install tigervnc-server
#uname -r
system-config-firewall tui
28. Remove a package named firefox4
yum remove firefox4
ssh-keygen
#yum remove [package name]
rsync /home root@server6.example.com:/tmp
29. Send all debug level messages to /var/log/debug.log
add/remove software GUI
rhn_register
# ls -l /usr/share/doc | grep httpd
*.debug /var/log/debug.log service rsyslog restart
30. See the configuration files installed with a package named httpd
#yum install [package name]
#iptables -L
rpm -qc httpd
cat >> some_file << _EOF
31. Disk Utility Command
palimpsest
yum remove firefox4
add/remove software GUI
IPtables output chain
32. Gets kernel version and release number
ssh-copy-id root@server6.example.com
yum update
#virsh list
#uname -r
33. GUI install / uninstall with yum
add/remove software GUI
# star -x -f=home.star
$ tar czvf home.tar.gz /home
#iptables -I INPUT -p tcp --dport 21 -j Accept
34. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
rsync /home root@server6.example.com:/tmp
/dev
/etc/hosts
35. Install a pkg.rpm locally
tar czvf /tmp/etc.tar.gz /etc
service sshd restart
#rpm -uvh [package name]
rpm localinstall pkg.rpm --nogpgcheck
36. Start the GUI for date configuration
ip masqu
system-config-date
# star -x -f=home.star
# yum
37. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
#yum
#yum remove [package name]
MailTo=student@server6.example.com
chkconfig vsftpd on
38. Primary configuration of ssh
GUI menu system/administratrion/firewall
Fully Qualified Domain Name
/etc/ssh/sshd_config
# yum
39. Connect with VNC viewer securely
name-version-release.architecture.rpm
/etc/sysconfig/iptables
vncviewer -via student@server6 localhost:2
ip masqu
40. tar options for file name - gzip - and bzip2
#yum install [package name]
tar fzj
$ tar xzvf home.tar.gz /home
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
41. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
/etc/sysconfig/vncservers rpm -ql tigervnc-server
yum info firefox4
tar czvf /tmp/etc.tar.gz /etc
#iptables -I INPUT -p tcp --dport 21 -j Accept
42. Start GUI for Firewall
cp /home/test1.html /var/www/html/test1.html
# star -x -f=home.star
/dev
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
43. Persist the web server on boot
rsync /home/test1.html root@server6.example.com:/var/pub
cat >> some_file << _EOF
chkconfig httpd on
Fully Qualified Domain Name
44. Shell config tool gropued like GUI firewall configurater.
system-config-firewall tui
yum list
name-version-release.architecture.rpm
/etc/sysconfig/resolv.conf
45. Install a package named firefox4
yum install firefox4
# yum
ln -s /pub /var/www/html/pub
IPtables forward chain
46. Repos for yum
/etc/yum.repos.d
/etc/sysconfig/network
/dev
ntpdate -b instructor
47. Documentation about sysconfig network scripts
$ grep -v ^# /etc/nsswitch.conf
# vi /etc/inittab change - id:3:initdefault:
man search :/repository
/usr/share/doc/initscripts-*/sysconfig.txt
48. Repo config file
chkconfig httpd on
[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 -D INPUT -p tcp --dport 21 -j accpet
#rpm -qad [package name]
49. List iptables
#yum info [package name]
rsync -a /home/test1.html root@server6.example.com:/var/pub
#iptables -L
# virsh create /etc/libvert/qemu/vm_file_name.xml
50. Query information files with RPM
add/remove software GUI
#rpm -qi [package name]
rsync /home/test1.html root@server6.example.com:/var/pub
ssh-keygen
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