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. List scripts that can be run after installation of pkg.rpm
updating the kernel
system-config-date
rpm -q pkg.rpm --scripts
service vncserver restart chkconfig vncserver on
2. Searches for page within the #man yum
vncpasswd
#iptables -D INPUT -p tcp --dport 21 -j accpet
/etc/hosts
man search :/repository
3. Shell config tool gropued like GUI firewall configurater.
system-config-firewall tui
ntpdate -b instructor
#rpm -ivh [package name]
/etc/ssh/sshd_config
4. Query information files with RPM
#yum grouplist
rpm -qp pkg.rpm
#ip addr show
#rpm -qi [package name]
5. Repo config file
ssh-copy-id root@server6.example.com
# renice -10 proc-id
/etc/yum.repos.d/
[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
6. Repos for yum
man search :/repository
rsync /home/test1.html root@server6.example.com:/var/pub
insert as opposed to append
/etc/yum.repos.d
7. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
# grep -i
service ntpd restart
rsync -a /home/test1.html root@server6.example.com:/var/pub
8. Show IP address with the IP command
#ip addr show
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
palimpsest
/usr/share/doc/initscripts-*/sysconfig.txt
9. Restart the ntpd service
$ tar czvf home.tar.gz /home
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
service ntpd restart
palimpsest
10. System config firewall
palimpsest
*.debug /var/log/debug.log service rsyslog restart
# star -xattr -H=exustar -c -f=home.star /home/
GUI menu system/administratrion/firewall
11. Get a list of package groups from yum
#rpm -qa | grep [package name]
#uname -r
chkconfig vsftpd on
#yum grouplist
12. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
palimpsest
vsftpd restart
cp /home/test1.html /var/www/html/test1.html
13. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
yum list
nautilus
rsync -a /home/test1.html root@server6.example.com:/var/pub
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
14. Location of repo's
ssh-copy-id root@server6.example.com
rsync /home root@server6.example.com:/tmp
/etc/yum.repos.d/
rpm -qc httpd
15. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
$ grep -v ^# /etc/nsswitch.conf
/etc/sysconfig/network
#yum info [package name]
#iptables -I INPUT -p tcp --dport 21 -j Accept
16. Remove a package with yum
rpm -qc httpd
rpm -qp pkg.rpm
man search :/repository
#yum remove [package name]
17. Primary configuration of ssh
/etc/ssh/sshd_config
rpm --import [public key location]
# star -xattr -H=exustar -c -f=home.star /home/
#rpm -uvh [package name]
18. Uninstall a package group with yum
man search :/repository
Fully Qualified Domain Name
#yum groupremove "group name"
/etc/sysconfig/network
19. Install star
# yum
/var/log/maillog
ntpdate -b instructor
chkconfig vsftpd on
20. Sync ntp time with the instructor
# ls -l /usr/share/doc | grep httpd
ntpdate -b instructor
yum provides "*/sbin/sshd"
yum remove firefox4
21. Grep with ignoring case
ln -s /pub /var/www/html/pub
MailTo=student@server6.example.com
#iptables -I INPUT -p tcp --dport 21 -j Accept
# grep -i
22. Messages related to cron log
yum install firefox4
yum provides "*/sbin/sshd"
logwatch
/var/log/cron
23. Install the star compression tool create an archive with the star tool.
/etc/services
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
# star -xattr -H=exustar -c -f=home.star /home/
#ip addr show
24. Create a gzip-compressed backup of /etc in /tmp
ip masqu
tar czvf /tmp/etc.tar.gz /etc
rsync /home/test1.html root@server6.example.com:/var/pub
# yum
25. Install a package named firefox4
yum install firefox4
service vncserver restart chkconfig vncserver on
#rpm -qa | grep [package name]
#rpm -uvh [package name]
26. Connect with VNC viewer securely
chkconfig vsftpd on
/etc/ssh/sshd_config
vncviewer -via student@server6 localhost:2
# renice -10 proc-id
27. Remove a package named firefox4
service sshd restart
yum remove firefox4
/etc/sysconfig/iptables
# cat /var/log/messages | grep [Ff]ailed | less
28. Contains RPM database
man search :/repository
/var/lib/rpm
#yum groupremove "group name"
#iptables -L
29. Configuration file for system logs
# yum
vncpasswd
/etc/rsyslog.conf
palimpsest
30. Acting as a router with forwarding
name-version-release.architecture.rpm
ip masqu
yum list
/etc/sysconfig/iptables
31. Install a pkg.rpm locally
#yum grouplist
rpm localinstall pkg.rpm --nogpgcheck
IPtables output chain
$ tar czvf home.tar.gz /home
32. RPM package naming
/etc/sysconfig/iptables
name-version-release.architecture.rpm
# vi /etc/inittab change - id:3:initdefault:
/var/log/cron
33. FTP package used in RHEL 6
vsftpd
rsync /home/test1.html root@server6.example.com:/var/pub
ln -s /pub /var/www/html/pub
/var/log/secure
34. Process packets coming into the system
IPtables input chain
/etc/hosts
#rpm -qad [package name]
IPtables forward chain
35. Send all debug level messages to /var/log/debug.log
*.debug /var/log/debug.log service rsyslog restart
2>&1
#yum groupinstall "group name"
yum install firefox4
36. Use lftp to connect
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
# virsh create /etc/libvert/qemu/vm_file_name.xml
/usr/share/doc/initscripts-*/sysconfig.txt
[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
37. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
/etc/sysconfig/iptables
/var/log/secure
/etc/sysconfig/vncservers rpm -ql tigervnc-server
.spec
38. Query all documentation with RPM
$ tar xzvf home.tar.gz /home
#rpm -qad [package name]
#rpm -qi [package name]
yum search firefox
39. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
insert as opposed to append
/var/www/html/
service vncserver restart chkconfig vncserver on
IPtables forward chain
40. List iptables
cat >> some_file << _EOF
#rpm -ivh [package name]
#iptables -L
#virsh list
41. Authentication related messages log
# cat /var/log/messages | grep [Ff]ailed | less
/var/log/secure
ntpdate -b instructor
ssh-copy-id root@server6.example.com
42. Persist the web server on boot
#yum info [package name]
#yum remove [package name]
rpm localinstall pkg.rpm --nogpgcheck
chkconfig httpd on
43. tar options for create - extract - test - and verbose
# star -xattr -H=exustar -c -f=home.star /home/
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
chkconfig httpd on
tar cxtv
44. See the configuration files installed with a package named httpd
/etc/sysconfig/network
yum install firefox4
service sshd restart
rpm -qc httpd
45. Restart ssh services
/etc/services
service sshd restart
#yum remove [package name]
vncpasswd
46. Process packets coming out of the system
/etc/services
/usr/share/doc/initscripts-*/sysconfig.txt
rsync -a /home/test1.html root@server6.example.com:/var/pub
IPtables output chain
47. Stores filewall rules for the system.
/etc/sysconfig/iptables
rpm --import [public key location]
insert as opposed to append
#iptables -L
48. Edit files with cat until the _EOF is found
cat >> some_file << _EOF
system-config-date
ln -s /pub /var/www/html/pub
# yum
49. Display packages that match the pathname
yum provides
MailTo=student@server6.example.com
/etc/yum.repos.d/
#yum grouplist
50. Disks available for partitions
#yum
/dev
service vncserver restart chkconfig vncserver on
/var/log/messages
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