Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with PuTTy Software for linux 1. Create a folder called HW7 in your home folder on lolin01. in that folder create a bash script

Help with PuTTy Software for linux

1. Create a folder called HW7 in your home folder on lolin01. in that folder create a bash script called 7-1a that looks for the existence of a file called /etc/resolv.conf. If the file is there print (or echo) "resolver present", if it's not there print "esolver missing". Give two completely different solutions for this problem.

2. Write a regular expression that takes your login name (stu1, etc...) and replaces it with your first initial, last name. So, If Tom Jones was STU74, he would write a REGEX that changes STU74 to TJONES. Don't write the changes to file. Just come up with the syntax.

3. Copy the /etc/passwd file to the HW7 folder you created. Change every instance of the string stu to STU in the file you copied.

4. How would process the following list to find out if the user accounts are valid accounts on the lolin01.nvcc.edu linux host?

stu1

John

Mike

stu2

Fred

stu3

Bill

stu4

bart

stu5

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions