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. Install a pkg.rpm locally
ln -s /pub /var/www/html/pub
/var/lib/rpm
/etc/yum.repos.d
rpm localinstall pkg.rpm --nogpgcheck
2. Sync ntp time with the instructor
ntpdate -b instructor
yum install firefox4
/etc/sysconfig/iptables
rpm -qc httpd
3. List iptables
rsync /home/test1.html root@server6.example.com:/var/pub
*.debug /var/log/debug.log service rsyslog restart
rpm -q pkg.rpm --scripts
#iptables -L
4. Get information about a package named firefox4
#virsh destroy domain-id
vsftpd restart
yum info firefox4
add/remove software GUI
5. Remove a package with yum
rsync /home root@server6.example.com:/tmp
yum provides "*/sbin/sshd"
/var/www/html/
#yum remove [package name]
6. Messages related to cron log
system-config-firewall tui
rpm -q pkg.rpm --scripts
nautilus
/var/log/cron
7. Query configuration files with RPM
cat >> some_file << _EOF
IPtables forward chain
#rpm -qac [package name]
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
8. File holding services - ports - protocols assoicated
/etc/ssh/sshd_config
/etc/services
rpm -ql vsftpd
Fully Qualified Domain Name
9. Stores filewall rules for the system.
/usr/share/doc/initscripts-*/sysconfig.txt
rpm -qp pkg.rpm
#yum info [package name]
/etc/sysconfig/iptables
10. Install with RPM
#yum groupinstall "group name"
#yum
#rpm -ivh [package name]
system-config-date
11. Search for command in the doc directory
/etc/yum.repos.d
chkconfig vsftpd on
# ls -l /usr/share/doc | grep httpd
/var/log/secure
12. Display packages that match the pathname
yum provides
#yum grouplist
yum info firefox4
Fully Qualified Domain Name
13. Adjust the persistent runlevel
#rpm -uvh [package name]
#rpm -qad [package name]
# renice -10 proc-id
# vi /etc/inittab change - id:3:initdefault:
14. Install a package named firefox4
cat >> some_file << _EOF
IPtables input chain
yum install firefox4
palimpsest
15. See files installed with a package named vsftpd
yum info firefox4
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
ntpdate -b instructor
rpm -ql vsftpd
16. List installed and available packages
yum list
ssh-copy-id root@server6.example.com
yum install tigervnc-server
#iptables -F
17. System config firewall
*.debug /var/log/debug.log service rsyslog restart
GUI menu system/administratrion/firewall
/var/log/cron
Fully Qualified Domain Name
18. Location of repo's
#rpm -ivh [package name]
/etc/yum.repos.d/
ntpdate -b instructor
system-config-date
19. Stores IPtables rules (filter) chains - input forward output are persistant
rpm -q pkg.rpm --scripts
/etc/sysconfig/iptables
MailTo=student@server6.example.com
ip masqu
20. Set process priority with renice - -20 highest - 20 lowest - 0 is default
[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
# star -xattr -H=exustar -c -f=home.star /home/
MailTo=student@server6.example.com
# renice -10 proc-id
21. Local file copy of /home/test1.html to /var/www/html/test1.html
cp /home/test1.html /var/www/html/test1.html
rhn_register
/etc/rsyslog.conf
#rpm -uvh [package name]
22. Shell config tool gropued like GUI firewall configurater.
chkconfig httpd on
rpm -qc httpd
/etc/sysconfig/resolv.conf
system-config-firewall tui
23. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
#virsh list
man search :/repository
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#yum install [package name]
24. Documentation about sysconfig network scripts
/usr/share/doc/initscripts-*/sysconfig.txt
vsftpd
IPtables forward chain
rpm -q pkg.rpm --scripts
25. Process packets coming into the system
rpm --import [public key location]
[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
IPtables input chain
/dev
26. Determine which package provides SSH
yum provides "*/sbin/sshd"
service ntpd restart
2>&1
/var/log/secure
27. Install the star compression tool create an archive with the star tool.
# star -xattr -H=exustar -c -f=home.star /home/
/usr/share/doc/initscripts-*/sysconfig.txt
#rpm -qa | grep [package name]
MailTo=student@server6.example.com
28. Where are HTML pages hosted?
yum provides
#rpm -ivh [package name]
tar czvf /tmp/etc.tar.gz /etc
/var/www/html/
29. Searches for page within the #man yum
man search :/repository
insert as opposed to append
rpm -ql vsftpd
tar cxtv
30. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
/etc/yum.repos.d
cp /home/test1.html /var/www/html/test1.html
#iptables -I INPUT -p tcp --dport 21 -j Accept
logwatch
31. See the configuration files installed with a package named httpd
rpm -qc httpd
yum install tigervnc-server
#rpm -qi [package name]
$ tar czvf home.tar.gz /home
32. Restart the ntpd service
service ntpd restart
yum provides "*/sbin/sshd"
.spec
/etc/yum.repos.d
33. original DNS config file - still used
.spec
#iptables -F
IPtables input chain
/etc/sysconfig/resolv.conf
34. Install the VNC server package
rpm -q pkg.rpm --scripts
yum install tigervnc-server
rsync -a /home/test1.html root@server6.example.com:/var/pub
yum update
35. Generate SSH Keys
service vncserver restart chkconfig vncserver on
# virsh create /etc/libvert/qemu/vm_file_name.xml
chkconfig httpd on
ssh-keygen
36. Flush the firewall of all rules
yum provides "*/sbin/sshd"
#iptables -F
/var/www/html/
vncviewer -via student@server6 localhost:2
37. Grep for lines that do not match (-v)
.spec
vsftpd
$ grep -v ^# /etc/nsswitch.conf
#yum info [package name]
38. GUI File Manager
rpm -qp pkg.rpm
nautilus
vsftpd
add/remove software GUI
39. Connect with VNC viewer securely
# grep -i
/etc/hosts
vncviewer -via student@server6 localhost:2
# yum
40. Create a tar ball with gzip compression of the home dir
rpm -ql vsftpd
MailTo=student@server6.example.com
$ tar czvf home.tar.gz /home
.spec
41. Remove a package named firefox4
yum remove firefox4
yum install firefox4
# virsh create /etc/libvert/qemu/vm_file_name.xml
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
42. Configuration for VNC
yum list
$ grep -v ^# /etc/nsswitch.conf
/etc/sysconfig/vncservers rpm -ql tigervnc-server
/etc/sysconfig/resolv.conf
43. All messages sent at info priority or higher
palimpsest
yum install firefox4
/var/log/messages
$ tar czvf home.tar.gz /home
44. Repo config file
vncviewer -via student@server6 localhost:2
[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
*.debug /var/log/debug.log service rsyslog restart
$ grep -v ^# /etc/nsswitch.conf
45. Grep with ignoring case
# grep -i
#iptables -D INPUT -p tcp --dport 21 -j accpet
yum provides
GUI menu system/administratrion/firewall
46. Query information files with RPM
[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 install tigervnc-server
/usr/share/doc/initscripts-*/sysconfig.txt
#rpm -qi [package name]
47. tar options for file name - gzip - and bzip2
rsync /home/test1.html root@server6.example.com:/var/pub
yum provides
tar fzj
yum install tigervnc-server
48. Update a package
#iptables -D INPUT -p tcp --dport 21 -j accpet
#uname -r
yum update
IPtables forward chain
49. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
system-config-firewall tui
vsftpd
chkconfig httpd on
/etc/sysconfig/network
50. Append add to the end of the IPtables rules. insert will put rule above the deny all rule.
/var/log/secure
insert as opposed to append
/etc/services
# renice -10 proc-id
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