View Single Post
Old Jun 5th, 2006, 9:38 AM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Using `ls -lastr` would give you a decent list of file properties. The "hidden" files in linux are typically called "dot files". If you preceed the filename with a dot (as in .fileName), it would "hide" from the default `ls` command.

The -a flag of the ls command would find all dot files, so in effect they aren't really hidden. However, you could probably effectively hide a file by prefixing the filename with nongraphic characters. Although the -b flag of `ls` would print octal escapes in the place of the nongraphic character... The use of -b is not as commonly known as -a.

When in doubt, encrypt the file and change ownership and permissions.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote