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. Backup a home directory on desktop6 to /tmp on server6
chkconfig httpd on
vncpasswd
yum install firefox4
rsync /home root@server6.example.com:/tmp
2. Searches for page within the #man yum
man search :/repository
/etc/rsyslog.conf
/var/log/cron
yum search firefox
3. Generate SSH Keys
/etc/rsyslog.conf
rpm -ql vsftpd
man search :/repository
ssh-keygen
4. Import a public key
rpm --import [public key location]
vsftpd
yum remove firefox4
service sshd restart
5. Install the VNC server package
#uname -r
yum info firefox4
service ntpd restart
yum install tigervnc-server
6. Email related messages log
/var/log/maillog
service ntpd restart
#iptables -L
#yum groupinstall "group name"
7. Should be done with yum and install as opposed to update if done with RPM option "i" should be used and not "u"
updating the kernel
/etc/yum.repos.d
#yum groupinstall "group name"
/etc/services
8. Disks available for partitions
logwatch
rpm -qc httpd
[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
/dev
9. tar options for file name - gzip - and bzip2
chkconfig httpd on
#rpm -qa | grep [package name]
tar fzj
/etc/ssh/sshd_config
10. List iptables
system-config-date
#ip addr show
chkconfig vsftpd on
#iptables -L
11. Set a VNC password
#yum install [package name]
system-config-firewall tui
vncpasswd
yum provides
12. Use lftp to connect
GUI menu system/administratrion/firewall
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
ntpdate -b instructor
13. Redirect errors to std out
rpm -q pkg.rpm --scripts
[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
2>&1
#uname -r
14. Process packets coming into the system
ip masqu
IPtables input chain
rsync -a /home/test1.html root@server6.example.com:/var/pub
#yum grouplist
15. Install a package with yum
#yum install [package name]
# renice -10 proc-id
name-version-release.architecture.rpm
/var/log/secure
16. Local host file (contains hostname). Can contain local system DNS.
yum search firefox
#rpm -qac [package name]
# virsh create /etc/libvert/qemu/vm_file_name.xml
/etc/hosts
17. Update a package
rpm localinstall pkg.rpm --nogpgcheck
yum update
.spec
/var/log/maillog
18. Persist the web server on boot
/etc/sysconfig/iptables
chkconfig httpd on
yum install tigervnc-server
nautilus
19. Extract a star compressed file
lftp student@server6 httpd configuration /etc/httpd/conf/httpd.conf rpm -ql httpd
ln -s /pub /var/www/html/pub
rpm localinstall pkg.rpm --nogpgcheck
# star -x -f=home.star
20. Delete a rule from iptables
IPtables output chain
MailTo=student@server6.example.com
#iptables -D INPUT -p tcp --dport 21 -j accpet
# virsh create /etc/libvert/qemu/vm_file_name.xml
21. See the configuration files installed with a package named httpd
rpm -qc httpd
#ip addr show
# ls -l /usr/share/doc | grep httpd
#rpm -qi [package name]
22. Contains RPM database
/var/lib/rpm
#rpm -qi [package name]
#rpm -qad [package name]
rpm -ql vsftpd
23. Repo config file
service ntpd restart
#rpm -qi [package name]
[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
# cat /var/log/messages | grep [Ff]ailed | less
24. Process packets coming out of the system
add/remove software GUI
IPtables output chain
# star -xattr -H=exustar -c -f=home.star /home/
#rpm -qac [package name]
25. Program to analyze standard log files and send a summary email to root
logwatch
GUI menu system/administratrion/firewall
#rpm -qad [package name]
Fully Qualified Domain Name
26. Query all documentation with RPM
name-version-release.architecture.rpm
#rpm -qad [package name]
# grep -i
#rpm -qi [package name]
27. Stores IPtables rules (filter) chains - input forward output are persistant
yum install tigervnc-server
2>&1
/etc/sysconfig/iptables
man search :/repository
28. Edit files with cat until the _EOF is found
#yum remove [package name]
cat >> some_file << _EOF
yum list
tar xvzf /tmp/etc.tar.gz /etc
29. Package file named pkg.rpm
rpm -qc httpd
#iptables -D INPUT -p tcp --dport 21 -j accpet
name-version-release.architecture.rpm
rpm -qp pkg.rpm
30. Install star
#iptables -F
#rpm -uvh [package name]
# yum
rsync /home root@server6.example.com:/tmp
31. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
/etc/sysconfig/iptables
service ntpd restart
# yum
32. Repos for yum
$ tar czvf home.tar.gz /home
/etc/yum.repos.d
system-config-date
$ grep -v ^# /etc/nsswitch.conf
33. Search for a package with firefox in the description
yum search firefox
#yum groupinstall "group name"
IPtables output chain
# grep -i
34. Start GUI for Firewall
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
service vncserver restart chkconfig vncserver on
rpm -q pkg.rpm --scripts
# yum
35. Copy a public ssh key to server6
ssh-copy-id root@server6.example.com
/etc/sysconfig/iptables
cp /home/test1.html /var/www/html/test1.html
Fully Qualified Domain Name
36. Remove a package named firefox4
/dev
rpm -qp pkg.rpm
yum remove firefox4
tar xvzf /tmp/etc.tar.gz /etc
37. Show IP address with the IP command
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/etc/sysconfig/vncservers rpm -ql tigervnc-server
rsync -a /home/test1.html root@server6.example.com:/var/pub
#ip addr show
38. FTP package used in RHEL 6
vsftpd
/etc/rsyslog.conf
rhn_register
service sshd restart
39. File holding services - ports - protocols assoicated
# renice -10 proc-id
/etc/services
vsftpd restart
palimpsest
40. GUI File Manager
# grep -i
nautilus
$ tar xzvf home.tar.gz /home
# star -xattr -H=exustar -c -f=home.star /home/
41. handles dependencies while RPMs do not uses preconfigured repos
service vncserver restart chkconfig vncserver on
#yum
/etc/sysconfig/network
IPtables input chain
42. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
/etc/yum.repos.d
man search :/repository
[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
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
43. Start vsftp service
/etc/sysconfig/vncservers rpm -ql tigervnc-server
$ tar xzvf home.tar.gz /home
#yum install [package name]
vsftpd restart
44. Extract a gzipped tar ball in your home directory
GUI menu system/administratrion/firewall
$ tar xzvf home.tar.gz /home
system-config-firewall tui
yum provides "*/sbin/sshd"
45. Local file copy of /home/test1.html to /var/www/html/test1.html
/var/log/secure
# vi /etc/inittab change - id:3:initdefault:
cp /home/test1.html /var/www/html/test1.html
ssh-copy-id root@server6.example.com
46. Stores filewall rules for the system.
# star -xattr -H=exustar -c -f=home.star /home/
service sshd restart
yum list
/etc/sysconfig/iptables
47. original DNS config file - still used
vsftpd
service vncserver restart chkconfig vncserver on
/etc/sysconfig/resolv.conf
#rpm -uvh [package name]
48. Search for a package within all packages
system-config-date
/var/log/maillog
/etc/vsftpd/vsftpd.conf rpm -ql vsftpd
#rpm -qa | grep [package name]
49. Disk Utility Command
#rpm -qad [package name]
GUI menu system/administratrion/firewall
/var/lib/rpm
palimpsest
50. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
service vncserver restart chkconfig vncserver on
yum search firefox
/etc/sysconfig/network
tar cxtv
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