1. #ls -l | grep ^d
2. #ls -d */
3. #find
Ex: #find /tmp -type d <-- This command shows all the directories with in the /tmp directory.
2. #find -type f
Ex: #find /tmp -type f <-- This command shows all regular files with in the /tmp directory.
Ex: #find /tmp -type f <-- This command shows all regular files with in the /tmp directory.
1 comment:
Good reading this ppost
Post a Comment