* mpajoh <[EMAIL PROTECTED]> writes:
> Hi All; Is there an equivalent to DOS's hidden file in Linux? If so
> how may I hide a file.
There's two ways...
1 - rename the file to begin with a period (.)
e.g. mv filename .filename
2 - change the permissions so that only the owner (and root)
have access to it.
e.g. chmod 600 filename (use 700 for executables)
In 1 above users may still be able to access the files and can still
"see" the files if they do 'ls -a' (which is the same situation for
DOS).
In 2 above, other users will be able to see the files with ls but they
won't be able to access them (read, write, or execute).
===========================
Want to really learn Linux?
... Install Slackware
===========================
--
|---<Regards, Steve Youngs>-------------------------------------|
| Failures are divided into two classes - those who thought and |
| never did, and those who did and never thought. |
|------------------------------------<[EMAIL PROTECTED]>---|
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs