1. Write a Bourne shell script that takes a list of integers as the command line argument and displays a list of their squares and the sum of the numbers in the list of squares.
2. Write a Bourne shell script that takes a machine name as an argument and displays a message informing you whether the host is on the local network.
3. Write a shell script to help monitor the health of your /etc/passwd file.
a. Find entries that have UID 0.
b. Find entries that have that have no password (needs /etc/shadow).
c. Find any sets of entries that have duplicate UIDs.
d. Find entries that have duplicate login names.
e. Find entries that have no expiration date (needs /etc/shadow).
test all scripts to show the code works, and test to prove it doesn't fail.
11 freelancers are bidding on average $6/hour for this job
Hi, I have been a teacher in NIIT and I have taught UNIX shell scripting. If you select me I am confident that I wont let you down. Thanking You, satrajit dasgupta.