Write a bash script .

User Generated

webova123

Computer Science

Description

1. Write a bash script that prompts a user to enter either a U.S. zip code or a Canadian postal code. Your application should validate the input with a regular expression(s), and print out which type the code is, or that it doesn't match either. U.S. Postal Code form: 99999-9999 Canadian Postal Code form: A5B-7M4 (Hint: it is quite easy to find a regular expression that does this, just google "u.s. canadian postal code regular expression”)


2. Create a python program that opens the accompanying web log and prints out both the IP address and the command issued (against a web server).

https://learn.vccs.edu/bbcswebdav/pid-122702913-dt...

(You must submit the actual source code for the project as python program, and not in any other format, e.g. embedded in a Word document. Include 2 to 4 screen shots showing successful operation of your program.)

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hello, check the solution for part 1 as I finalize the other.

Question 1:
Description:
Write a shell script called hello that takes one argument at the command line: hello < the person’s
name > Within the script, count backwards from 10, displaying each number; and then end with
"Hello, < the person’s name ...


Anonymous
I was stuck on this subject and a friend recommended Studypool. I'm so glad I checked it out!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags