RedHat RHCSA Commands UPDATED
ACTUAL Exam Questions and CORRECT
Answers
#ip addr show - CORRECT ANSWER - show IP address with the IP command
/etc/sysconfig/network - CORRECT ANSWER - shows network / global network
variables:
NETWORKING=yes
HOSTNAME=shuttlehosti
GATEWAY=192.168.88.1
/etc/hosts - CORRECT ANSWER - local host file (contains hostname). Can contain local
system DNS.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
/etc/sysconfig/iptables - CORRECT ANSWER - stores filewall rules for the system.
/etc/sysconfig/resolv.conf - CORRECT ANSWER - orig DNS config file. still used
/usr/share/doc/initscripts-*/sysconfig.txt - CORRECT ANSWER - Documentation about
sysconfig network scripts
system config firewall - CORRECT ANSWER - GUI menu
system/administratrion/firewall
, **manual iptable rules will be overwritten with this tool.
/etc/services - CORRECT ANSWER - file holding services, ports, protocols assoicated
ip masqu - CORRECT ANSWER - acting as a router with forwarding
system-config-firewall tui - CORRECT ANSWER - shell config tool gropued like GUI
firewall configurater.
**manual iptable rules will be overwritten with this tool.
/etc/sysconfig/iptables - CORRECT ANSWER - stores IPtables rules (filter)
chains, input forward output
are persistant
IPtables input chain - CORRECT ANSWER - process packets coming into the system
IPtables forward chain - CORRECT ANSWER - process packets being forwarded through
the system
IPtables output chain - CORRECT ANSWER - process packets coming out of the system
#iptables -L - CORRECT ANSWER - list iptables
#iptables -F - CORRECT ANSWER - flush the firewall of all rules
insert as opposed to append - CORRECT ANSWER - append add to the end of the
IPtables rules. insert will put rule above the deny all rule.
ACTUAL Exam Questions and CORRECT
Answers
#ip addr show - CORRECT ANSWER - show IP address with the IP command
/etc/sysconfig/network - CORRECT ANSWER - shows network / global network
variables:
NETWORKING=yes
HOSTNAME=shuttlehosti
GATEWAY=192.168.88.1
/etc/hosts - CORRECT ANSWER - local host file (contains hostname). Can contain local
system DNS.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
/etc/sysconfig/iptables - CORRECT ANSWER - stores filewall rules for the system.
/etc/sysconfig/resolv.conf - CORRECT ANSWER - orig DNS config file. still used
/usr/share/doc/initscripts-*/sysconfig.txt - CORRECT ANSWER - Documentation about
sysconfig network scripts
system config firewall - CORRECT ANSWER - GUI menu
system/administratrion/firewall
, **manual iptable rules will be overwritten with this tool.
/etc/services - CORRECT ANSWER - file holding services, ports, protocols assoicated
ip masqu - CORRECT ANSWER - acting as a router with forwarding
system-config-firewall tui - CORRECT ANSWER - shell config tool gropued like GUI
firewall configurater.
**manual iptable rules will be overwritten with this tool.
/etc/sysconfig/iptables - CORRECT ANSWER - stores IPtables rules (filter)
chains, input forward output
are persistant
IPtables input chain - CORRECT ANSWER - process packets coming into the system
IPtables forward chain - CORRECT ANSWER - process packets being forwarded through
the system
IPtables output chain - CORRECT ANSWER - process packets coming out of the system
#iptables -L - CORRECT ANSWER - list iptables
#iptables -F - CORRECT ANSWER - flush the firewall of all rules
insert as opposed to append - CORRECT ANSWER - append add to the end of the
IPtables rules. insert will put rule above the deny all rule.