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. - ANSWER
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. - ANSWER 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. - ANSWER 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. - ANSWER
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 up your workstation in the IT
Administration office, and the workstation does not connect to any computers on the
network.
You need to diagnose and fix these problems.
In this lab, your task is to:
- Use troubleshooting tools such as ping, ip addr show, and route to diagnose the
problems in the network.
- Fix the problem at each workstation.
- Use the troubleshooting tools to confirm each problem's resolution.
The following ta - ANSWER 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.
In this lab, your task is to:
- Format the /dev/sdb1 partition with the ext3 file system. - ANSWER mkfs -t ext3
/dev/sdb1
10.1.9
You are troubleshooting your Linux system and need to know some information
about some of the currently running processes. Complete this lab from the Terminal.
In this lab, your task is to:
- Use the ps command, with the applicable options, to find information about the
currently running processes.
- Answer the questions. - ANSWER ps aux | less
10.2.10
As a part of your daily maintenance, you scan for and kill any zombie processes on
the system. Complete this lab from the Terminal.
In this lab, your task is to:
- Use the ps command to find zombie processes.
- Use the kill command to terminate all zombie processes. - ANSWER ps aux | less
q
kill -9 1301
kill -9 1570
kill -9 1980
12.2.9
You share a number of files from your computer, and you have received a number of
calls from users who say they cannot connect to the files. You check your computer
and find that the Ethernet cable is unplugged. You have plugged the Ethernet cable
in, so you need to start the network interface card. Complete this lab from the
Terminal.
In this lab, your task is to:
- Determine which network interface went down when it was unplugged.
- Start the network interface from the command line. - ANSWER ip addr
ip link set enp2s1 up
ip addr show enp2s1
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 leonardmuriithi061. 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.