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. An example of searching through system logs with interpretation.
# cat /var/log/messages | grep [Ff]ailed | less
rsync /home root@server6.example.com:/tmp
#rpm -qi [package name]
IPtables output chain
2. Connect with VNC viewer securely
vncviewer -via student@server6 localhost:2
rpm localinstall pkg.rpm --nogpgcheck
yum remove firefox4
rpm -q pkg.rpm --scripts
3. Send all debug level messages to /var/log/debug.log
/etc/hosts
IPtables output chain
system-config-date
*.debug /var/log/debug.log service rsyslog restart
4. Configuration for VNC
/etc/sysconfig/vncservers rpm -ql tigervnc-server
rsync /home root@server6.example.com:/tmp
$ tar czvf home.tar.gz /home
/var/log/secure
5. Search for a package within all packages
ntpdate -b instructor
#uname -r
add/remove software GUI
#rpm -qa | grep [package name]
6. Generate SSH Keys
cp /home/test1.html /var/www/html/test1.html
#yum install [package name]
ssh-keygen
#rpm -qa | grep [package name]
7. Shell config tool gropued like GUI firewall configurater.
yum list
system-config-firewall tui
$ tar xzvf home.tar.gz /home
GUI menu system/administratrion/firewall
8. Disks available for partitions
vncviewer -via student@server6 localhost:2
/dev
/etc/yum.repos.d/
#iptables -F
9. Stores filewall rules for the system.
/var/log/cron
#rpm -qad [package name]
#rpm -ivh [package name]
/etc/sysconfig/iptables
10. Repos for yum
/etc/yum.repos.d
yum search firefox
/var/www/html/
#rpm -uvh [package name]
11. Extract a star compressed file
#yum
yum remove firefox4
# star -x -f=home.star
/etc/sysconfig/iptables
12. Documentation about sysconfig network scripts
name-version-release.architecture.rpm
/usr/share/doc/initscripts-*/sysconfig.txt
insert as opposed to append
/etc/sysconfig/vncservers rpm -ql tigervnc-server
13. Remove a package with yum
ip masqu
# renice -10 proc-id
yum remove firefox4
#yum remove [package name]
14. Search for command in the doc directory
chkconfig vsftpd on
updating the kernel
# renice -10 proc-id
# ls -l /usr/share/doc | grep httpd
15. System config firewall
vsftpd restart
GUI menu system/administratrion/firewall
#uname -r
logwatch
16. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
*.debug /var/log/debug.log service rsyslog restart
.spec
system-config-date
[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
17. Messages related to cron log
system-config-date
/var/log/cron
IPtables input chain
vsftpd
18. Install a package group with yum
#yum groupinstall "group name"
#rpm -uvh [package name]
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
/dev
19. Set process priority with renice - -20 highest - 20 lowest - 0 is default
# renice -10 proc-id
tar czvf /tmp/etc.tar.gz /etc
/etc/sysconfig/vncservers rpm -ql tigervnc-server
.spec
20. Show IP address with the IP command
/etc/sysconfig/iptables
IPtables forward chain
#rpm -qi [package name]
#ip addr show
21. Extract /tmp/etc.tar.gz to /etc
ntpdate -b instructor
/var/log/secure
[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 xvzf /tmp/etc.tar.gz /etc
22. Stores IPtables rules (filter) chains - input forward output are persistant
rsync -a /home/test1.html root@server6.example.com:/var/pub
#rpm -qad [package name]
service ntpd restart
/etc/sysconfig/iptables
23. Create a gzip-compressed backup of /etc in /tmp
tar czvf /tmp/etc.tar.gz /etc
system-config-date
service sshd restart
man search :/repository
24. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
insert as opposed to append
/etc/rsyslog.conf
# star -x -f=home.star
tar cxtv
25. List installed and available packages
yum list
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
/etc/yum.repos.d
$ tar czvf home.tar.gz /home
26. Grep for lines that do not match (-v)
#iptables -L
#yum install [package name]
$ grep -v ^# /etc/nsswitch.conf
#rpm -qac [package name]
27. Local file copy of /home/test1.html to /var/www/html/test1.html
yum remove firefox4
2>&1
ssh-copy-id root@server6.example.com
cp /home/test1.html /var/www/html/test1.html
28. Start a VM
# virsh create /etc/libvert/qemu/vm_file_name.xml
rpm localinstall pkg.rpm --nogpgcheck
name-version-release.architecture.rpm
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
29. Create a tar ball with gzip compression of the home dir
$ tar czvf home.tar.gz /home
yum provides "*/sbin/sshd"
#rpm -ivh [package name]
# ls -l /usr/share/doc | grep httpd
30. Adjust the persistent runlevel
tar fzj
#rpm -uvh [package name]
tar cxtv
# vi /etc/inittab change - id:3:initdefault:
31. Start the GUI for date configuration
ntpdate -b instructor
/var/log/messages
system-config-date
insert as opposed to append
32. tar options for create - extract - test - and verbose
tar cxtv
# ls -l /usr/share/doc | grep httpd
#iptables -L
updating the kernel
33. Import a public key
service sshd restart
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
rsync /home/test1.html root@server6.example.com:/var/pub
rpm --import [public key location]
34. Remote file copy /home/test1.html to the /var/pub directory on server6 while preserving metadata
/var/log/cron
rsync -a /home/test1.html root@server6.example.com:/var/pub
logwatch
service vncserver restart chkconfig vncserver on
35. Package file named pkg.rpm
#rpm -qad [package name]
rpm -qp pkg.rpm
rsync -a /home/test1.html root@server6.example.com:/var/pub
#iptables -F
36. See the configuration files installed with a package named httpd
system-config-date
rhn_register
rpm -qc httpd
cp /home/test1.html /var/www/html/test1.html
37. Persist FTP on boot
/etc/sysconfig/network
rpm -qc httpd
chkconfig vsftpd on
#iptables -D INPUT -p tcp --dport 21 -j accpet
38. Process packets coming out of the system
tar czvf /tmp/etc.tar.gz /etc
/var/log/cron
IPtables output chain
rpm -qp pkg.rpm
39. GUI install / uninstall with yum
add/remove software GUI
tar czvf /tmp/etc.tar.gz /etc
yum search firefox
IPtables forward chain
40. Query information files with RPM
/etc/sysconfig/iptables
#yum
#rpm -qi [package name]
yum provides "*/sbin/sshd"
41. List iptables
rpm -qc httpd
chkconfig vsftpd on
#iptables -L
# star -x -f=home.star
42. Install a pkg.rpm locally
service sshd restart
rpm localinstall pkg.rpm --nogpgcheck
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
#rpm -qad [package name]
43. Query all documentation with RPM
chkconfig httpd on
#rpm -qad [package name]
/etc/sysconfig/network
/var/lib/rpm
44. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
/etc/sysconfig/iptables
#iptables -L
tar cxtv
45. File holding services - ports - protocols assoicated
tar fzj
#yum install [package name]
yum search firefox
/etc/services
46. Remote file copy /home/test1.html to the /var/pub directory on server6
#yum install [package name]
#yum
rsync /home/test1.html root@server6.example.com:/var/pub
#yum groupinstall "group name"
47. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
$ tar czvf home.tar.gz /home
insert as opposed to append
system-config-firewall tui
updating the kernel
48. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
# cat /var/log/messages | grep [Ff]ailed | less
rpm localinstall pkg.rpm --nogpgcheck
chkconfig vsftpd on
49. Kill a VM
#virsh destroy domain-id
#rpm -qa | grep [package name]
/var/log/cron
name-version-release.architecture.rpm
50. original DNS config file - still used
Fully Qualified Domain Name
/etc/sysconfig/resolv.conf
#iptables -D INPUT -p tcp --dport 21 -j accpet
yum search firefox
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