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. Set a VNC password
$ grep -v ^# /etc/nsswitch.conf
2>&1
vncpasswd
*.debug /var/log/debug.log service rsyslog restart
2. Get a list of package groups from yum
IPtables input chain
#yum grouplist
rsync -a /home/test1.html root@server6.example.com:/var/pub
#yum
3. GUI File Manager
ip masqu
service sshd restart
tar xvzf /tmp/etc.tar.gz /etc
nautilus
4. Location of repo's
vncpasswd
# virsh create /etc/libvert/qemu/vm_file_name.xml
[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
/etc/yum.repos.d/
5. Adjust the persistent runlevel
#iptables -I INPUT -p tcp --dport 21 -j Accept
#yum remove [package name]
# vi /etc/inittab change - id:3:initdefault:
chkconfig httpd on
6. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
ssh-keygen
rsync -a /home/test1.html root@server6.example.com:/var/pub
# renice -10 proc-id
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
7. File holding services - ports - protocols assoicated
/var/log/messages
ln -s /pub /var/www/html/pub
rsync /home/test1.html root@server6.example.com:/var/pub
/etc/services
8. Update a package
yum update
rpm -qc httpd
yum install tigervnc-server
# yum
9. fqdn
Fully Qualified Domain Name
rpm --import [public key location]
service ntpd restart
tar fzj
10. Extract a star compressed file
/var/log/cron
# star -x -f=home.star
yum remove firefox4
#iptables -I INPUT -p tcp --dport 21 -j Accept
11. Enable anonymous users - disable local accounts - and disable any uploads to the FTP server
#rpm -ivh [package name]
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
# renice -10 proc-id
nautilus
12. List VMs
#virsh list
# star -x -f=home.star
# renice -10 proc-id
/dev
13. Persist FTP on boot
chkconfig vsftpd on
rsync /home root@server6.example.com:/tmp
#rpm -uvh [package name]
cp /home/test1.html /var/www/html/test1.html
14. Kill a VM
#rpm -qad [package name]
#virsh destroy domain-id
/etc/hosts
man search :/repository
15. List iptables
rpm -q pkg.rpm --scripts
rhn_register
cp /home/test1.html /var/www/html/test1.html
#iptables -L
16. Display packages that match the pathname
yum provides
# cat /var/log/messages | grep [Ff]ailed | less
/etc/sysconfig/iptables
rpm --import [public key location]
17. Disks available for partitions
/dev
cat >> some_file << _EOF
IPtables input chain
#rpm -qa | grep [package name]
18. Create a tar ball with gzip compression of the home dir
rsync -a /home/test1.html root@server6.example.com:/var/pub
vncviewer -via student@server6 localhost:2
$ tar czvf home.tar.gz /home
rhn_register
19. Use lftp to connect
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
*.debug /var/log/debug.log service rsyslog restart
/etc/sysconfig/network
yum update
20. Backup a home directory on desktop6 to /tmp on server6
yum install tigervnc-server
rsync /home root@server6.example.com:/tmp
insert as opposed to append
/var/lib/rpm
21. Generate SSH Keys
tar xvzf /tmp/etc.tar.gz /etc
ssh-keygen
logwatch
/var/log/messages
22. Install a pkg.rpm locally
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
vsftpd
rpm localinstall pkg.rpm --nogpgcheck
#yum grouplist
23. Stores IPtables rules (filter) chains - input forward output are persistant
GUI menu system/administratrion/firewall
/etc/sysconfig/iptables
ntpdate -b instructor
#iptables -L
24. Stores filewall rules for the system.
rpm -qp pkg.rpm
yum search firefox
/etc/sysconfig/iptables
#rpm -qad [package name]
25. Shell config tool gropued like GUI firewall configurater.
# star -xattr -H=exustar -c -f=home.star /home/
system-config-firewall tui
#rpm -qa | grep [package name]
rpm localinstall pkg.rpm --nogpgcheck
26. An example of searching through system logs with interpretation.
rpm -ql vsftpd
# cat /var/log/messages | grep [Ff]ailed | less
/var/log/messages
vsftpd
27. List installed and available packages
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
vsftpd
yum list
/etc/yum.repos.d
28. Authentication related messages log
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
# renice -10 proc-id
/var/log/secure
IPtables input chain
29. Restart ssh services
# star -x -f=home.star
service sshd restart
#yum remove [package name]
/dev
30. Repos for yum
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
tar fzj
IPtables forward chain
/etc/yum.repos.d
31. Acting as a router with forwarding
ip masqu
service ntpd restart
#yum
/var/lib/rpm
32. Remove a package with yum
chkconfig vsftpd on
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
2>&1
#yum remove [package name]
33. Get information about a package named firefox4
rpm -q pkg.rpm --scripts
MailTo=student@server6.example.com
yum info firefox4
#yum groupinstall "group name"
34. FTP package used in RHEL 6
.spec
yum remove firefox4
#rpm -ivh [package name]
vsftpd
35. Repo config file
name-version-release.architecture.rpm
ln -s /pub /var/www/html/pub
tar fzj
[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
36. handles dependencies while RPMs do not uses preconfigured repos
#yum info [package name]
#virsh list
yum install firefox4
#yum
37. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
rpm -qp pkg.rpm
/etc/sysconfig/iptables
updating the kernel
*.debug /var/log/debug.log service rsyslog restart
38. Rpm upgrade package u upgrade v verbose h hash
#rpm -uvh [package name]
/usr/share/doc/initscripts-*/sysconfig.txt
# renice -10 proc-id
/var/log/secure
39. System config firewall
#yum info [package name]
rpm -qp pkg.rpm
service ntpd restart
GUI menu system/administratrion/firewall
40. Search for a package within all packages
GUI menu system/administratrion/firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
#rpm -qa | grep [package name]
/var/log/cron
41. Process packets being forwarded through the system
IPtables forward chain
logwatch
yum update
/etc/yum.repos.d
42. See files installed with a package named vsftpd
.spec
rpm -ql vsftpd
# vi /etc/inittab change - id:3:initdefault:
/var/log/maillog
43. Send all debug level messages to /var/log/debug.log
*.debug /var/log/debug.log service rsyslog restart
yum install firefox4
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
/var/log/maillog
44. Connect with VNC viewer securely
vncviewer -via student@server6 localhost:2
#iptables -F
IPtables output chain
/etc/sysconfig/iptables
45. Process packets coming into the system
ntpdate -b instructor
IPtables input chain
ssh-keygen
/etc/services
46. Remove a package named firefox4
# cat /var/log/messages | grep [Ff]ailed | less
#yum groupinstall "group name"
$ grep -v ^# /etc/nsswitch.conf
yum remove firefox4
47. Sync ntp time with the instructor
/etc/sysconfig/network
yum remove firefox4
#rpm -qa | grep [package name]
ntpdate -b instructor
48. Start the GUI for date configuration
/etc/sysconfig/iptables
/var/log/cron
system-config-date
/var/log/messages
49. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
#iptables -I INPUT -p tcp --dport 21 -j Accept
yum install tigervnc-server
# star -x -f=home.star
nautilus
50. Local host file (contains hostname). Can contain local system DNS.
cp /home/test1.html /var/www/html/test1.html
#yum grouplist
/etc/hosts
# star -x -f=home.star
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