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. FTP package used in RHEL 6
# star -x -f=home.star
system-config-firewall tui
/var/log/secure
vsftpd
2. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
ln -s /pub /var/www/html/pub
updating the kernel
tar fzj
tar czvf /tmp/etc.tar.gz /etc
3. Delete a rule from iptables
#iptables -L
#iptables -D INPUT -p tcp --dport 21 -j accpet
rsync /home/test1.html root@server6.example.com:/var/pub
ssh-keygen
4. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
/etc/sysconfig/vncservers rpm -ql tigervnc-server
$ tar xzvf home.tar.gz /home
man search :/repository
5. Restart vnc and persist on boot
#uname -r
service vncserver restart chkconfig vncserver on
yum provides "*/sbin/sshd"
system-config-firewall tui
6. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
#rpm -qac [package name]
rpm -ql vsftpd
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
chkconfig httpd on
7. Process packets coming out of the system
vsftpd
# cat /var/log/messages | grep [Ff]ailed | less
ssh-copy-id root@server6.example.com
IPtables output chain
8. Determine which package provides SSH
cat >> some_file << _EOF
# star -x -f=home.star
yum provides "*/sbin/sshd"
# virsh create /etc/libvert/qemu/vm_file_name.xml
9. Extract a gzipped tar ball in your home directory
rsync /home root@server6.example.com:/tmp
rpm -q pkg.rpm --scripts
#iptables -L
$ tar xzvf home.tar.gz /home
10. Connect with VNC viewer securely
#iptables -L
vncviewer -via student@server6 localhost:2
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
vsftpd restart
11. tar options for file name - gzip - and bzip2
tar fzj
rpm -ql vsftpd
#rpm -qad [package name]
rpm -q pkg.rpm --scripts
12. Query information files with RPM
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#rpm -qi [package name]
/etc/sysconfig/iptables
#rpm -ivh [package name]
13. Package file named pkg.rpm
chkconfig httpd on
yum install firefox4
rpm -qp pkg.rpm
rpm localinstall pkg.rpm --nogpgcheck
14. Remote file copy /home/test1.html to the /var/pub directory on server6
/etc/sysconfig/vncservers rpm -ql tigervnc-server
rsync /home/test1.html root@server6.example.com:/var/pub
MailTo=student@server6.example.com
2>&1
15. Get information about a package named firefox4
/var/lib/rpm
tar xvzf /tmp/etc.tar.gz /etc
yum info firefox4
/etc/sysconfig/vncservers rpm -ql tigervnc-server
16. Install a package group with yum
tar czvf /tmp/etc.tar.gz /etc
#yum groupinstall "group name"
/etc/hosts
yum list
17. Show IP address with the IP command
/var/log/messages
$ tar czvf home.tar.gz /home
Fully Qualified Domain Name
#ip addr show
18. File holding services - ports - protocols assoicated
ln -s /pub /var/www/html/pub
/etc/yum.repos.d
system-config-date
/etc/services
19. fqdn
rpm -qc httpd
Fully Qualified Domain Name
#virsh destroy domain-id
rpm -ql vsftpd
20. Repos for yum
/etc/yum.repos.d
/var/www/html/
/etc/yum.repos.d/
ssh-copy-id root@server6.example.com
21. Search for command in the doc directory
/etc/yum.repos.d/
/var/log/maillog
tar cxtv
# ls -l /usr/share/doc | grep httpd
22. Process packets being forwarded through the system
/etc/sysconfig/iptables
rpm -qc httpd
MailTo=student@server6.example.com
IPtables forward chain
23. RPM package naming
name-version-release.architecture.rpm
#yum install [package name]
/var/log/messages
yum list
24. Restart the ntpd service
chkconfig vsftpd on
MailTo=student@server6.example.com
rsync /home/test1.html root@server6.example.com:/var/pub
service ntpd restart
25. Local host file (contains hostname). Can contain local system DNS.
rpm -q pkg.rpm --scripts
vncpasswd
updating the kernel
/etc/hosts
26. Set process priority with renice - -20 highest - 20 lowest - 0 is default
/etc/yum.repos.d
yum info firefox4
# renice -10 proc-id
yum provides "*/sbin/sshd"
27. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
#iptables -I INPUT -p tcp --dport 21 -j Accept
system-config-date
#rpm -uvh [package name]
# vi /etc/inittab change - id:3:initdefault:
28. GUI File Manager
nautilus
MailTo=student@server6.example.com
ln -s /pub /var/www/html/pub
/usr/share/doc/initscripts-*/sysconfig.txt
29. Query all documentation with RPM
#rpm -qad [package name]
/etc/yum.repos.d/
/usr/share/doc/initscripts-*/sysconfig.txt
yum info firefox4
30. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
# vi /etc/inittab change - id:3:initdefault:
#rpm -qa | grep [package name]
rsync -a /home/test1.html root@server6.example.com:/var/pub
name-version-release.architecture.rpm
31. Install a pkg.rpm locally
chkconfig httpd on
/etc/sysconfig/iptables
rpm localinstall pkg.rpm --nogpgcheck
rpm -q pkg.rpm --scripts
32. Send all debug level messages to /var/log/debug.log
*.debug /var/log/debug.log service rsyslog restart
ssh-keygen
$ tar czvf home.tar.gz /home
/usr/share/doc/initscripts-*/sysconfig.txt
33. List installed and available packages
rpm -qc httpd
# virsh create /etc/libvert/qemu/vm_file_name.xml
/var/log/secure
yum list
34. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
/etc/rsyslog.conf
yum provides "*/sbin/sshd"
rpm -qp pkg.rpm
insert as opposed to append
35. Remove a package named firefox4
#rpm -ivh [package name]
# star -x -f=home.star
logwatch
yum remove firefox4
36. Email related messages log
/etc/yum.repos.d
# yum
/var/log/maillog
IPtables forward chain
37. Remove a package with yum
#yum remove [package name]
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
add/remove software GUI
yum provides "*/sbin/sshd"
38. Grep for lines that do not match (-v)
#rpm -qac [package name]
tar cxtv
$ grep -v ^# /etc/nsswitch.conf
updating the kernel
39. List VMs
#virsh list
rpm -ql vsftpd
ln -s /pub /var/www/html/pub
service ntpd restart
40. Install a package named firefox4
yum install firefox4
#rpm -qa | grep [package name]
/var/www/html/
rpm -qc httpd
41. GUI install / uninstall with yum
add/remove software GUI
#yum groupremove "group name"
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
$ tar czvf home.tar.gz /home
42. Query configuration files with RPM
#rpm -qac [package name]
#iptables -F
updating the kernel
/etc/ssh/sshd_config
43. Start the GUI for date configuration
/etc/hosts
#iptables -L
system-config-date
#ip addr show
44. Create a symbolic link to /pub on the FTP and name it pub
ip masqu
system-config-date
# yum
ln -s /pub /var/www/html/pub
45. Search for a package with firefox in the description
Fully Qualified Domain Name
rpm -ql vsftpd
rpm localinstall pkg.rpm --nogpgcheck
yum search firefox
46. Start GUI for Firewall
IPtables forward chain
/etc/sysconfig/iptables
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
47. Append this to the /etc/rsyslog.conf to send mail to student@server6.example.com
man search :/repository
#yum groupinstall "group name"
MailTo=student@server6.example.com
system-config-firewall tui
48. Generate SSH Keys
updating the kernel
ssh-keygen
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
service vncserver restart chkconfig vncserver on
49. Gets kernel version and release number
#uname -r
chkconfig vsftpd on
system-config-firewall tui
#ip addr show
50. Set a VNC password
#iptables -I INPUT -p tcp --dport 21 -j Accept
vncpasswd
ln -s /pub /var/www/html/pub
yum provides
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