Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UNIX help!!!! I need what the text would look like in the vi editor. also note this question has been posted before and the answers

UNIX help!!!! I need what the text would look like in the vi editor. also note this question has been posted before and the answers were all wrong!!

Write a shell script (bash or sh) that prints out the following lines/information: Only your name may be hard coded, the rest must be obtained programmatically within the shell script.

Name: "Your name"

Hostname: "The computer's hostname"

Host IP: "The computer's IP number"

Default Gateway: "The computer's default gateway"

OS Version: "Whatever information on the OS version you can get programmatically"

Memory: "The amount of physical memory (not disk) the system has"

CPU Speed: "The CPU speed (in Hz not MIPS) the system thinks it has"

Disk space: "The amount of aggregate physical disk the system has"

A blank line (or two)

The shell script itself

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

Master The Art Of Data Storytelling With Visualizations

Authors: Alexander N Donovan

1st Edition

B0CNMD9QRD, 979-8867864248

Students also viewed these Databases questions

Question

10. Describe the relationship between communication and power.

Answered: 1 week ago