Question: Write a perl script to accomplish following tasks 1. Concatenate two sequences. Find the length of new sequence. 2. Get the DNS address of a

Write a perl script to accomplish following tasks 1. Concatenate two sequences. Find the length of new sequence. 2. Get the DNS address of a host 3. Translate hostnames (localhost) into IP addresses 4. Ping a host 5. Read Last five lines of a file 6. Ask the user to enter (name and age) and calculate age in days. 7. Initialize a 20-element array (Numbers) and print each element. 8. Get system host name. 9. Get a web page and save it to a local file 10. Lists services(daemon) on a given system Write a perl script to accomplish following tasks 1. Concatenate two sequences. Find the length of new sequence. 2. Get the DNS address of a host 3. Translate hostnames (localhost) into IP addresses 4. Ping a host 5. Read Last five lines of a file 6. Ask the user to enter (name and age) and calculate age in days. 7. Initialize a 20-element array (Numbers) and print each element. 8. Get system host name. 9. Get a web page and save it to a local file 10. Lists services(daemon) on a given system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
