answers
6.1.5
There is a C debugger package installed on the server that your organization is no
longer using. The IT manager in your organization has asked you to uninstall the
ddd-C-Debug-2.8.15-3.cd15 package. Complete this lab from the Terminal.
In this lab, your task is to:
- Uninstall the ddd-C-Debug-2.8.15-3.cd15 package.
- Verify that the ddd-C-Debug-2.8.15-3.cd15 package is uninstalled. - CORRECT
ANSWERS ✔✔rpm -e ddd-C-Debug-2.8.15-3.cd15
rpm -q ddd-C-Debug-2.8.15-3.cd15
2.9.6
You are experiencing a few issues on your Linux system that you think are related to
either your terminal's environment settings or the shell being used. You need to view
the files that will tell you information about your terminal. Complete this lab from
the Terminal.
In this lab, your task is to:
- View the contents of the file /root/.bash_profile.
- Answer Question 1.
- View the contents of the file /etc/shells.
- Answer Question 2. - CORRECT ANSWERS ✔✔cat /root/.bash_profile
,cat /etc/shells
8.9.6
The CEO of the company wants to make sure that the employees' personal
information, as stored in the /hr/personnel file, is protected. The CEO has asked that
you make sure that the human resources (HR) department is the owner of that file.
Complete this lab from the Terminal.
In this lab, your task is to:
- Find the current owner of the /hr/personnel file.
- Answer the question.
- Change the group ownership of the /hr/personnel file to the hr group.
- Verify the ownership change. - CORRECT ANSWERS ✔✔ls -l /hr
chgrp hr /hr/personnel
ls -l /hr
8.6.3
You recently installed and formatted a new hard drive in your system. Its device file
name is /dev/sdb1. Now you want to mount the volume. Complete this lab from the
Terminal.
In this lab, your task is to:
- Create the /mnt/disk directory.
- Mount /dev/sdb1 to the /mnt/disk directory with the ext3 file system.
- Use the mount command to verify that the volume is mounted correctly. -
CORRECT ANSWERS ✔✔mkdir /mnt/disk
,mount -t ext3 /dev/sdb1 /mnt/disk
mount
12.8.6
You are a network technician for a small corporate network, which is connected to
the internet. Several issues have recently come up.
- The employee in the Support Office reports that their workstation cannot
communicate with any other computers on the network and cannot connect to the
internet.
- The employee in Office 2 reports that their workstation can communicate with
some computers on the network, but cannot access the internet.
- In addition to these two issues, you have just set u - CORRECT ANSWERS
✔✔Support Terminal -----
ping -c4 192.168.0.5
ping -c4 192.168.0.30
ip addr
nano /etc/sysconfig/network-scripts/ifcfg-enp2s0
IPADDR: 192.168.0.32
BROADCAST: 192.168.0.255
GATEWAY: 192.168.0.5 Ctrl-X
ip link set enp2s0 down
ip link set enp2s0 up
ip addr
ping -c4 192.168.0.5
, ping -c4 163.128.80.93
Office 2 Terminal -----
ping -c4 192.168.0.5
ping -c4 192.168.0.30
ping -c4 163.128.80.93
route
nano /etc/sysconfig/network-scripts/ifcfg-enp2s0
GATEWAY: 192.168.0.5
ip link set enp2s0 down
ip link set enp2s0 up
ping -c4 163.128.80.93
ITAdmin Terminal -----
ping -c4 192.168.0.5
ping -c4 192.168.0.30
ip addr
nano /etc/sysconfig/network-scripts/ifcfg-enp2s0
NETMASK: 255.255.255.0
ip link set enp2s0 down
ip link set enp2s0 up
ping -c4 192.168.0.30
8.5.8
You've installed a new hard drive and created a partition on the drive. You now need
to format the partition before you can save data on the new hard drive. Complete this
lab from the Terminal.