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. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/sysconfig/iptables
#iptables -D INPUT -p tcp --dport 21 -j accpet
#rpm -qad [package name]
nautilus
2. Delete a rule from iptables
#iptables -D INPUT -p tcp --dport 21 -j accpet
/etc/sysconfig/iptables
rsync /home/test1.html root@server6.example.com:/var/pub
#iptables -I INPUT -p tcp --dport 21 -j Accept
3. Searches for page within the #man yum
/var/log/maillog
man search :/repository
#virsh destroy domain-id
rpm -q pkg.rpm --scripts
4. Documentation about sysconfig network scripts
yum provides
/usr/share/doc/initscripts-*/sysconfig.txt
rhn_register
yum provides "*/sbin/sshd"
5. Configuration for VNC
/etc/sysconfig/vncservers rpm -ql tigervnc-server
rpm --import [public key location]
/etc/sysconfig/resolv.conf
# vi /etc/inittab change - id:3:initdefault:
6. Create a tar ball with gzip compression of the home dir
vsftpd
# cat /var/log/messages | grep [Ff]ailed | less
$ tar czvf home.tar.gz /home
GUI menu system/administratrion/firewall
7. Remote file copy /home/test1.html to the /var/pub directory on server6
#yum
chkconfig httpd on
rsync /home/test1.html root@server6.example.com:/var/pub
GUI menu system/administratrion/firewall
8. Show IP address with the IP command
/etc/yum.repos.d
rsync /home/test1.html root@server6.example.com:/var/pub
yum list
#ip addr show
9. tar options for file name - gzip - and bzip2
/etc/sysconfig/iptables
#iptables -L
tar fzj
chkconfig vsftpd on
10. Messages related to cron log
vncviewer -via student@server6 localhost:2
/var/log/cron
#rpm -qi [package name]
/etc/rsyslog.conf
11. Install a package group with yum
[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
#yum groupinstall "group name"
#iptables -I INPUT -p tcp --dport 21 -j Accept
/etc/sysconfig/iptables
12. Process packets being forwarded through the system
rpm -q pkg.rpm --scripts
IPtables forward chain
#rpm -qi [package name]
yum search firefox
13. Repos for yum
nautilus
yum provides
2>&1
/etc/yum.repos.d
14. Use lftp to connect
palimpsest
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
*.debug /var/log/debug.log service rsyslog restart
/var/log/messages
15. Start a VM
#uname -r
#virsh destroy domain-id
yum info firefox4
# virsh create /etc/libvert/qemu/vm_file_name.xml
16. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
Fully Qualified Domain Name
IPtables input chain
service ntpd restart
17. Install the VNC server package
# grep -i
yum install tigervnc-server
chkconfig vsftpd on
.spec
18. Persist FTP on boot
/etc/services
chkconfig vsftpd on
service vncserver restart chkconfig vncserver on
#rpm -ivh [package name]
19. Edit files with cat until the _EOF is found
cat >> some_file << _EOF
ssh-keygen
$ grep -v ^# /etc/nsswitch.conf
yum list
20. Where are HTML pages hosted?
service ntpd restart
/var/www/html/
yum update
2>&1
21. Rpm upgrade package u upgrade v verbose h hash
#iptables -L
GUI menu system/administratrion/firewall
#rpm -uvh [package name]
.spec
22. Restart ssh services
/etc/ssh/sshd_config
service sshd restart
ln -s /pub /var/www/html/pub
chkconfig vsftpd on
23. 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
#rpm -ivh [package name]
ssh-copy-id root@server6.example.com
tar cxtv
24. File holding services - ports - protocols assoicated
$ grep -v ^# /etc/nsswitch.conf
/etc/services
tar cxtv
#iptables -D INPUT -p tcp --dport 21 -j accpet
25. Process packets coming out of the system
chkconfig httpd on
#yum remove [package name]
IPtables output chain
updating the kernel
26. Redirect errors to std out
2>&1
ssh-copy-id root@server6.example.com
rpm localinstall pkg.rpm --nogpgcheck
/var/log/secure
27. List installed and available packages
/usr/share/doc/initscripts-*/sysconfig.txt
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
yum list
yum info firefox4
28. Grep with ignoring case
tar fzj
chkconfig httpd on
# grep -i
yum remove firefox4
29. Shell config tool gropued like GUI firewall configurater.
system-config-firewall tui
#ip addr show
/etc/services
# star -xattr -H=exustar -c -f=home.star /home/
30. Create a symbolic link to /pub on the FTP and name it pub
tar xvzf /tmp/etc.tar.gz /etc
#rpm -qa | grep [package name]
updating the kernel
ln -s /pub /var/www/html/pub
31. Create a gzip-compressed backup of /etc in /tmp
#virsh list
# vi /etc/inittab change - id:3:initdefault:
tar czvf /tmp/etc.tar.gz /etc
yum update
32. Query all documentation with RPM
#yum install [package name]
$ grep -v ^# /etc/nsswitch.conf
#rpm -qad [package name]
tar xvzf /tmp/etc.tar.gz /etc
33. Register on the RHN
system-config-date
rhn_register
/var/lib/rpm
2>&1
34. handles dependencies while RPMs do not uses preconfigured repos
#yum
/usr/share/doc/initscripts-*/sysconfig.txt
#rpm -qad [package name]
rsync -a /home/test1.html root@server6.example.com:/var/pub
35. RPM package naming
/etc/ssh/sshd_config
tar cxtv
name-version-release.architecture.rpm
/var/log/messages
36. Email related messages log
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
yum list
/var/log/maillog
nautilus
37. Repo config file
palimpsest
#rpm -qa | grep [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
#virsh list
38. Search for a package with firefox in the description
cp /home/test1.html /var/www/html/test1.html
IPtables output chain
#virsh list
yum search firefox
39. GUI File Manager
#yum groupinstall "group name"
ntpdate -b instructor
yum provides
nautilus
40. Update a package
rhn_register
/var/log/maillog
yum update
#yum info [package name]
41. List scripts that can be run after installation of pkg.rpm
yum info firefox4
rpm -q pkg.rpm --scripts
/etc/sysconfig/iptables
/var/log/messages
42. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
#yum groupremove "group name"
yum install firefox4
.spec
#yum info [package name]
43. Kill a VM
GUI menu system/administratrion/firewall
ln -s /pub /var/www/html/pub
#virsh destroy domain-id
#yum grouplist
44. Acting as a router with forwarding
#ip addr show
IPtables output chain
ip masqu
rsync -a /home/test1.html root@server6.example.com:/var/pub
45. Restart vnc and persist on boot
service vncserver restart chkconfig vncserver on
rsync /home/test1.html root@server6.example.com:/var/pub
# cat /var/log/messages | grep [Ff]ailed | less
ntpdate -b instructor
46. Disk Utility Command
# grep -i
/etc/yum.repos.d/
palimpsest
# vi /etc/inittab change - id:3:initdefault:
47. Primary configuration of ssh
/etc/ssh/sshd_config
#yum grouplist
rsync -a /home/test1.html root@server6.example.com:/var/pub
.spec
48. Local file copy of /home/test1.html to /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
add/remove software GUI
cp /home/test1.html /var/www/html/test1.html
#rpm -qad [package name]
49. Install with RPM
yum provides
#ip addr show
Fully Qualified Domain Name
#rpm -ivh [package name]
50. Install the star compression tool create an archive with the star tool.
yum provides "*/sbin/sshd"
# star -xattr -H=exustar -c -f=home.star /home/
[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
tar cxtv
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