Question: Help with PuTTy Software for linux logged into the system lolin01 **it would also be nice if you can provide screenshots while using the PuTTy

Help with PuTTy Software for linux

logged into the system "lolin01"

**it would also be nice if you can provide screenshots while using the PuTTy system so i can learn/understand it better*

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. **hint** echo stu1 | sed 's/stu1/mike/'mike

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!