By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,737 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,737 IT Pros & Developers. It's quick & easy.

file name

P: 2
I want to create a file with a name so that it is not listed by any command.
i:e not listed by ls and its options.
How can I do that?.
please help.
Nov 27 '07 #1
Share this Question
Share on Google+
1 Reply

numberwhun
Expert Mod 2.5K+
P: 3,503
I want to create a file with a name so that it is not listed by any command.
i:e not listed by ls and its options.
How can I do that?.
please help.
Well, you can put a dot (.) as the first character in the file name and it will be hidden from normal view then, but anyone using "ls -a" will be able to see it. There is no way I know of to completely hide a file from some view.

Regards,

Jeff
Nov 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.