Check if file1 is the same as file2 if yes printout error


Write a shell program which:

- Get input from command line file1 & file2

- Copy file1 to file2

- Check if there is exactly 2 filenames, if not, printout error message

- Check if file1 is the same as file2, if yes, printout error message

Solution Preview :

Prepared by a verified Expert
Programming Languages: Check if file1 is the same as file2 if yes printout error
Reference No:- TGS01260393

Now Priced at $30 (50% Discount)

Recommended (91%)

Rated (4.3/5)