ls -l (include both directories and files)
ls -l | grep -v ^d (include only files in listing)
ls -l | grep ^d (include only directories in listing)
Wednesday, April 23, 2008
List only Directory/Files in ls command
Posted by Vishnu Agrawal at 10:48 AM
Subscribe to:
Post Comments (Atom)
1 comment:
Thanks yaar.
Post a Comment