AIX

cp: The media surface is damaged

Posted on
Let me rewind the incident.I was copying a pretty big file to another place.While I was waiting for the copying to complete, I found some other IO activities began to execute and affect mine a lot, I saw the size of the target file stopped to grow.After some times, I saw this error message thrown […]
Linux

How to Copy Files Without Prompts on Enterprise Linux 6

Posted on
As I can remember, command cp never asks you the copy operation for sure except that you add -i option to enter the interactive mode. But with newer Enterprise Linux (i.e. CentOS 6.5), it will ask you all the time.[root@test ~]# cp file1 file2cp: overwrite `file2′? yLet’s see which cp it’s using now.[root@test ~]# which cpalias cp=’cp -i’  […]