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. Send all debug level messages to /var/log/debug.log
*.debug /var/log/debug.log service rsyslog restart
/dev
/etc/sysconfig/resolv.conf
#rpm -qi [package name]
2. List VMs
#iptables -D INPUT -p tcp --dport 21 -j accpet
MailTo=student@server6.example.com
#virsh list
cp /home/test1.html /var/www/html/test1.html
3. Process packets coming into the system
# ls -l /usr/share/doc | grep httpd
yum remove firefox4
IPtables input chain
rhn_register
4. original DNS config file - still used
/etc/sysconfig/resolv.conf
#yum install [package name]
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
insert as opposed to append
5. Install a package with yum
/etc/services
# grep -i
rpm -qc httpd
#yum install [package name]
6. Disks available for partitions
logwatch
MailTo=student@server6.example.com
ntpdate -b instructor
/dev
7. Create a tar ball with gzip compression of the home dir
#yum info [package name]
$ tar czvf home.tar.gz /home
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
yum install firefox4
8. FTP package used in RHEL 6
# renice -10 proc-id
vsftpd
cp /home/test1.html /var/www/html/test1.html
vncpasswd
9. Program to analyze standard log files and send a summary email to root
#yum groupremove "group name"
logwatch
yum provides
/etc/yum.repos.d
10. Edit files with cat until the _EOF is found
cat >> some_file << _EOF
#rpm -qac [package name]
$ grep -v ^# /etc/nsswitch.conf
Fully Qualified Domain Name
11. Restart the ntpd service
service ntpd restart
ip masqu
/etc/sysconfig/iptables
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
12. Search for command in the doc directory
chkconfig vsftpd on
# ls -l /usr/share/doc | grep httpd
chkconfig httpd on
tar fzj
13. Install with RPM
#yum
/etc/services
#rpm -ivh [package name]
/etc/yum.repos.d/
14. Contains RPM database
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
#yum
cp /home/test1.html /var/www/html/test1.html
/var/lib/rpm
15. Primary configuration of ssh
# vi /etc/inittab change - id:3:initdefault:
vsftpd restart
/etc/ssh/sshd_config
name-version-release.architecture.rpm
16. Process packets being forwarded through the system
#rpm -uvh [package name]
#yum info [package name]
tar fzj
IPtables forward chain
17. Local host file (contains hostname). Can contain local system DNS.
/etc/hosts
service ntpd restart
yum update
/etc/rsyslog.conf
18. Shell config tool gropued like GUI firewall configurater.
yum provides "*/sbin/sshd"
rsync /home root@server6.example.com:/tmp
2>&1
system-config-firewall tui
19. Query information files with RPM
#rpm -qi [package name]
# cat /var/log/messages | grep [Ff]ailed | less
/var/lib/rpm
#iptables -I INPUT -p tcp --dport 21 -j Accept
20. handles dependencies while RPMs do not uses preconfigured repos
#yum
yum provides
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#iptables -D INPUT -p tcp --dport 21 -j accpet
21. Acting as a router with forwarding
ip masqu
vsftpd
ln -s /pub /var/www/html/pub
# yum
22. Remove a package with yum
vsftpd restart
#yum remove [package name]
#yum grouplist
.spec
23. Gets kernel version and release number
# grep -i
/etc/ssh/sshd_config
#uname -r
rsync /home/test1.html root@server6.example.com:/var/pub
24. Install the star compression tool create an archive with the star tool.
/var/log/cron
# star -xattr -H=exustar -c -f=home.star /home/
#ip addr show
yum info firefox4
25. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
rpm -qc httpd
#rpm -uvh [package name]
/etc/yum.repos.d/
insert as opposed to append
26. All messages sent at info priority or higher
Fully Qualified Domain Name
#yum
ip masqu
/var/log/messages
27. Install star
insert as opposed to append
# yum
rpm --import [public key location]
/etc/sysconfig/vncservers rpm -ql tigervnc-server
28. Restart vnc and persist on boot
system-config-firewall tui
cat >> some_file << _EOF
service vncserver restart chkconfig vncserver on
vsftpd restart
29. Flush the firewall of all rules
yum install firefox4
yum search firefox
#iptables -F
nautilus
30. Location of repo's
/etc/yum.repos.d/
vsftpd
[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
insert as opposed to append
31. Query all documentation with RPM
#rpm -qad [package name]
#iptables -L
/etc/yum.repos.d/
# ls -l /usr/share/doc | grep httpd
32. Redirect errors to std out
2>&1
# star -x -f=home.star
yum install tigervnc-server
#virsh destroy domain-id
33. See files installed with a package named vsftpd
system-config-date
#yum install [package name]
rpm -ql vsftpd
rpm --import [public key location]
34. Extract a gzipped tar ball in your home directory
#iptables -F
$ tar xzvf home.tar.gz /home
/var/www/html/
# yum
35. List iptables
rpm localinstall pkg.rpm --nogpgcheck
#iptables -L
/var/log/secure
ln -s /pub /var/www/html/pub
36. Copy a public ssh key to server6
*.debug /var/log/debug.log service rsyslog restart
ssh-copy-id root@server6.example.com
/etc/sysconfig/iptables
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
37. tar options for create - extract - test - and verbose
#yum grouplist
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
tar cxtv
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
38. Backup a home directory on desktop6 to /tmp on server6
rsync /home root@server6.example.com:/tmp
#yum
# cat /var/log/messages | grep [Ff]ailed | less
/var/log/messages
39. Stores IPtables rules (filter) chains - input forward output are persistant
/etc/sysconfig/iptables
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
insert as opposed to append
service vncserver restart chkconfig vncserver on
40. Get more information on a package availale through yum
#uname -r
tar czvf /tmp/etc.tar.gz /etc
#yum info [package name]
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
41. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/etc/sysconfig/network
tar czvf /tmp/etc.tar.gz /etc
vsftpd restart
chkconfig vsftpd on
42. Delete a rule from iptables
cat >> some_file << _EOF
ssh-keygen
yum install tigervnc-server
#iptables -D INPUT -p tcp --dport 21 -j accpet
43. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
chkconfig vsftpd on
system-config-date
updating the kernel
# vi /etc/inittab change - id:3:initdefault:
44. Email related messages log
yum update
yum info firefox4
#iptables -L
/var/log/maillog
45. Extract a star compressed file
.spec
$ grep -v ^# /etc/nsswitch.conf
/var/lib/rpm
# star -x -f=home.star
46. Get information about a package named firefox4
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/etc/services
yum info firefox4
/etc/sysconfig/network
47. Create a gzip-compressed backup of /etc in /tmp
# virsh create /etc/libvert/qemu/vm_file_name.xml
tar czvf /tmp/etc.tar.gz /etc
yum provides "*/sbin/sshd"
#yum
48. Where are HTML pages hosted?
tar czvf /tmp/etc.tar.gz /etc
/var/www/html/
/etc/ssh/sshd_config
/etc/yum.repos.d/
49. Install the VNC server package
yum install tigervnc-server
/var/log/messages
system-config-date
vsftpd restart
50. Repo config file
yum info firefox4
ip masqu
[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
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
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