LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2009, 07:22 AM   #1
fluteofliar
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
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.
 
Old 09-06-2009, 07:25 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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?
 
Old 09-06-2009, 07:34 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,358
Blog Entries: 55

Rep: Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545
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 View Post
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.

Last edited by unSpawn; 09-06-2009 at 07:35 AM.
 
  


Reply

Tags
files, hide, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide dot files? cegres Linux - Newbie 2 02-07-2008 10:43 AM
How to hide Windows hidden files in Linux Beauford-2 Linux - Server 1 02-27-2007 06:02 PM
Hide files with permissions? TomalakBORG Linux - Newbie 12 02-10-2006 05:09 PM
how do I hide files? joshknape Linux - Newbie 11 09-12-2005 09:26 PM
How to hide files in Linux bngrhl Linux - Newbie 8 05-23-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration