My apologies Ken, for repeating the question. This question was asked I recall on a KDE/Linux mailing list and everyone advised to ask it in a different forum Thanks for your reply Scott On Tue, 2006-10-31 at 07:32 -0500, Kenneth Schneider wrote:
On Tue, 2006-10-31 at 20:01 +1000, Intrusion Detection Account 000 wrote:
In DOS there was the ability to verify a singular files integrity by using chkdsk c:/file.dos......The result indicated if the file integrity was so. There was also the ability to set in the Autoexec.bat set verify=ON - which made sure that EVERY file that you copied you did not need to use the verify option C:\file.dos C:\temp\file.dos /v
My questions are 1. Is there a global set verify=on in Linux? 2. Is there the ability to verify a single files integrity as above with a similar command such as chkdsk 3. How do I copy a file at the command line and include a verify option.
First, asking the same question more then once will not help your cause.
As to number 3; learn to use info for some of your answers I.E. info cp will show at the end the you will get error message if the copy was _not_ successful. Every copy is verified and if _not_ successful will not complete. To compare two files use the diff command, info diff for more information.