Subscribe to How-To Geek

List Only the Directories Within the Current Folder

From HowToGeek

Jump to: navigation, search

Very often there are so many files in a folder that the subdirectories get lost in the shuffle. This command makes it really simple to show only the directories.


ls -l | grep ^d

You can alias this command, so all you have to do is type "lsd" at the prompt for this function:

alias lsd="ls -l | grep ^d"

 

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

All content on the How-To Geek Wiki is licensed under a Creative Commons License