LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-06-2009, 08:22 AM   #1
fluteofliar
LQ Newbie
 
Registered: Sep 2009
Posts: 7
Thanked: 0
Hide Files in Linux


[Log in to get rid of this advertisement]
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.
windows_98_nt_2000 fluteofliar is offline  
Tag This Post , , ,
Reply With Quote
Old 09-06-2009, 08:25 AM   #2
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,539
Thanked: 447
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?
linuxdebian repo is offline     Reply With Quote
Old 09-06-2009, 08:34 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,718
Blog Entries: 30
Thanked: 285
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 08:35 AM..
linux unSpawn is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 11:43 AM
How to hide Windows hidden files in Linux Beauford-2 Linux - Server 1 02-27-2007 07:02 PM
Hide files with permissions? TomalakBORG Linux - Newbie 12 02-10-2006 06:09 PM
how do I hide files? joshknape Linux - Newbie 11 09-12-2005 10:26 PM
How to hide files in Linux bngrhl Linux - Newbie 8 05-23-2004 09:36 AM


All times are GMT -5. The time now is 02:06 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration