Tuesday, December 4, 2012

How to view the directories and sub-directories in aix?

How to view the directories and sub-directories in aix?

Some times we are in the situation to find out the directories and sub-directories of the particular filesystem. The below command get this done easily.

#ls -aeltFR

For example if we want to view all the dir and sub-dir of the /tmp directory. Use the below.

#cd /tmp
#ls -aeltFR

Note: In linux we can use "ls -altFR" command to view the dir and sub-dir information.