Question: Write a UNIX command compfile that takes two files as input, compares their sizes and modification time. determines which fie has bigger size and which

Write a UNIX command compfile that takes two files as input, compares their sizes and modification time. determines which fie has bigger size and which one has more recent modification time. Print out a message like: “file1 is greater than file2.” and "file 1 is more recent modification time".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer UNIX command binbash if ne 2 then echo Usage 0 exit 1 fi file11 file22 if e ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!