Write shell scripts to accomplish the following system administration tasks Solution

Write shell scripts to accomplish the following system administration tasks

Write shell scripts to accomplish the following system administration tasks

Write shell scripts to accomplish the following system administration tasks

Preview

Write shell scripts to accomplish the following system administration tasks:

MyExecutables: List all the executable files in the current working directory.

MyFiles <username> <directory>: Check the following attributes of a file in the specified directory:

  • Read permission
  • Write permission
  • Execute permission
  • Ordinary or special file
  • Check if the file exist
  • Check if there is anything contained in the file
  • Check if the file is a directory

The appropriate response must be provided for each of the above attributes.

Find out the biggest number from three given numbers. The numbers must be supplied as command line argument and an error must be printed if sufficient arguments are not supplied.

Notes

Ensure appropriate comments are within each script.

Each script with the associated output should be submitted.

Write a script using the while loop to display the numbers between 1 and 20 inclusively.

Use the for loop to accomplish the same output as number 1 above.

Write a script using the select loop to provide a choice of five lunch menu items and provide an appropriate response based on the user selection.

Note: The user should be prompted to make a selection.

Get the complete solution

You will be redirected to PayPal and then to the Download Page.
Scammycollege CO.
Scammycollege CO.

Networks & Security College Assignment Solutions.

//]]>