Under linux how to set the attribute of a file to make it hidden?
I have a USB hard disk, the file system of it is NTFS.
I mount the USB hard disk under Linux through the ntfs-3g driver in order to READ/WRITE.
What I want to do is to create a file on the USB hard disk and set it attributes to make it hidden so that when I plug back the USB hard disk into windows system, the user can't see the hidden file.
I just don't know how to achieve this.
Any help is appreciated.