Command is used to show or temporarily modify devices, routing, policy
routing, and tunnels. Right Ans - /sbin/ip
Show eth0 addre Right Ans - ip addr show eth0
Show eth0 addr rx tx Right Ans - ip -s link show eth0
Show routing table Right Ans - ip route
Show ipv6 routing table Right Ans - Ip -6 route
Thexxx command displays or temporarily modifies the system's fully-qualified
hostname. Right Ans - hostname
What is checked first by stub resolver Right Ans - cat /etc/hosts
What file controls this: If an entry is not found in that file the stub resolver
looks for the information from a DNS nameserver. Right Ans - cat
/etc/resolv.conf
The xxx command can be used to test hostname resolution. Right Ans -
getent hosts hostname
To change a NetworkManager-managed eth0 interface from using DHCP to
using a static IP address: Right Ans - IPv4 Settings tab
... Right Ans - On the Method drop-down menu, change Automatic (DHCP)
to Manual
What are the editing interface config files? Right Ans -
/etc/sysconfig/network-scripts/ifcfg-<name>, where <name> refers to the
name of the device that the configuration file controls
T/F If NetworkManager is running, any changes made to the ifcfg-* files take
effect immediately. Right Ans - TRUE
Where are networkmanager dns servers? Right Ans - /etc/resolv.conf
,Where is static config? Right Ans - /etc/sysconfig/network-scripts/route-
<name>.
how to set network setting manually? Right Ans - NM_CONTROLLED=no to
the ifcfg-*
s used to specify the fully-qualified hostname and may specify a static default
route if DHCP is not in use: Right Ans - /etc/sysconfig/network
specifies the IP addresses of DNS servers and the search domain. Right Ans
- /etc/resolv.conf
how to bring network interface down? Right Ans - ifdown eth0
how to bring network interface up? Right Ans - ifup eth0
when chg sys config, what 3 things to remember? Right Ans - 1. modify
config 2. restart a service 3. verify the change
What command would you use to view your current IP Address and Subnet
Mask? Right Ans - ip a
In which configuration file do you set a systems hostname? Right Ans -
/etc/sysconfig/network
where are network scripts? Right Ans - in /etc/sysconfig/network-scripts
how to find the fqdn? Right Ans - hostname
host name to ip or reverse is in? Right Ans - cat /etc/hosts
what controls query? Right Ans - /etc/resolv.conf
What are the two config files for Postfix called? Right Ans - The two main
config files are master.cf and main.cf.
, Sendmail is the default SMTP service for Red Hat Enterprise Linux 6. True or
False? Right Ans - False. The default SMTP service has been changed to
Postfix in Red Hat Enterprise Linux 6.
What protocols are used with Dovecot? Right Ans - Dovecot supports the
POP3, POP3S, IMAP, and IMAPS protocols.
What command-line program can you use to check your mail? Right Ans -
Typing the mail or mutt command allows you to read mail from the command
line.
What command can you use to create a new SSL certificate? Right Ans - Use
the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after
editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The virt-install package allows you to manage virtual machines via a GUI
interface. True or False? Right Ans - False. The virt-install package allows
you to manage virtual machines via the command line. The virt-manager
package allows you to manage virtual machines via a GUI interface.
By default, all virtual machines are created with the same amount of RAM.
True or False? Right Ans - False. You must dictate the amount of RAM you
want allocated to your virtual machine when you create it.
What is the virsh command used for? Right Ans - The virsh command is
used to manage virtual guests.
What does virsh reboot Client04 do? Right Ans - This command reboots
virtual guest Client04.
How can you display all virtual guests after they're connected to a hypervisor?
Right Ans - After you connect to a hypervisor, you can use virsh list —all to list
all virtual guests.
Red Hat Enterprise Linux 5 supports LUKS encryption. True or False? Right
Ans - False. Red Hat Enterprise Linux 6 is the only version that officially
supports LUKS encryption.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $17.99. You're not tied to anything after your purchase.