Thursday, January 17, 2008

HowTo: List Out Hidden Files and Hidden Directory Folder

Quick tip.

It is strange to know that the default ls alias command from other linux distro does not show hidden directories by default.

Here's an entry on how to find hidden files of a particular directory.

Simply issue

# ls -a
# ls -la

The -a tells ls to include hidden directory folders

Listed hidden directory folders start with a period (.) before its name which identifies that the folder is currently of hidden directory type.

To show hidden files inside hidden directory folder, simply

# cd .hiddenfolder
# ls -la

Try listing out hidden directory from your root folder location, you'll see a lot of them specially when you are using X.

# cd /root
# ls -la

Enjoy.

Related Reading:
List Out Files in A Tree View Directory Structure

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy