Linux Kerala
Showing posts with label
ls
.
Show all posts
Showing posts with label
ls
.
Show all posts
Wednesday, December 1, 2010
List only directories using ls command
ls -d */
Will list all directories in the current directory.
For example,
ls -d /mnt/*/
will list the path of all the directories in /mnt/.
ls -d1 */
will list all directories in the current directory one per line.
Home
Subscribe to:
Posts (Atom)