LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hide Files in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/hide-files-in-linux-753051/)

fluteofliar 09-06-2009 07:22 AM

Hide Files in Linux
 
Hello all..
i want to knw is there any command in linux
using which we can hide files(files made by user)
Thankz in advance.

repo 09-06-2009 07:25 AM

Welcome to LQ
you can use
Code:

mv filename .filename
But the file will still show if you use
Code:

ls -a
or enable show hidden files in a filebrowser.

Why do you want to hide the file?

unSpawn 09-06-2009 07:34 AM

You can obfuscate file contents using (simple) encryption, try hiding in plain sight by giving them innocuously-sounding names like say /home/$LOGNAME/mozilla/profile/cache/somerandomname, tacking them onto other files ('cat file >> someotherfile') or opening a file and deleting it from disk.

Quote:

Originally Posted by repo (Post 3671732)
Why do you want to hide the file?

And yes, this is a valid question. Hiding files usually means a user is up to no good. Don't think for one second you're leet enough to come up with ways to hide files themselves from the root account user.


All times are GMT -5. The time now is 09:39 PM.