script to compare latest two files using "diff" command.
On suse linux, I am having below files in one same folder and from that all files I want to use “diff” command on latest 2 files and want to save output of “diff” command in one separate file and then want to send that file through mail as attachment. I want to do this on weekly basis.
could you please help me on this.
Thanks in advance.. :-)