Connect to your virtual machine using ssh and complete the following tasks. Refer to assignment 1 for the commands to connect to and copy from your virtual machine. Write a

Connect to your virtual machine using ssh and complete the following tasks. Refer to assignment 1 for the commands to connect to and copy from your virtual machine. Write a BOURNE shell (bash) script that will search the current working directory and subdirectories and print all files that duplicated in terms of name and size. Only search for files and not directories. You can use the recursive switch with the ls command to identify all the files or you can use the find command. Previous students have found that the find command makes referencing the file names in the current working directory and all subdirectories easier to identify. Redirect the output of the script to a text file called output.txt. Your output should include the fully qualified path of each duplicate file. Make sure your script include the shebang on the first line and that it is executable.

Do you need us to help you on this or any other assignment?


Make an Order Now