Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have this project Using Linux OS I need help wirh this Lab assignment : which Linux command to use for each task? Discover the

I have this project Using Linux OS

I need help wirh this Lab assignment :

which Linux command to use for each task?

Discover the following information about the Course Servers network connection:

Number of network devices

Name of each network device

IP address (xxx.xxx.xxx.xxx) assigned to each network device (if present)

IPv6 address (xxxx::xxxx:xx:xxxx:xxxx/64) assigned to each network device (if present)

MAC (hardware) address (xx:xx:xx:xx:x:xx) assigned to each network device

Broadcast address (xxx.xxx.xxx.xxx) assigned to each network device (if present)

Subnet Mask (xxx.xxx.xxx.xxx) assigned to each network device (if present)

In your home directory, perform the following steps

Create a folder named lab2

In the lab2 folder

Create an empty file named myPets (do NOT use a text editor)

Store the text Dog: Morris in the myPets file (do NOT open the file)

Display the contents of the myPets file (do NOT open the file)

Using the sed command, change Dog to Cat in the myPets file (do NOT open the file)

Display the contents of the myPets file (do NOT open the file)

For each month of the year, count how many files in the /bin directory have a timestamp for that month Note 1: Perform the counts for all the months using a single command. Note 2: The length of a month name in a timestamp is exactly three (3) letters. Note 3: Linux is case-sensitive (Jan is not equal to jan). Note 4: The output of the command should match the following format exactly: Jan: x Feb: x Mar: x

Thanks.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions