Linux: How to list only folders with ls

in #linux7 years ago

Do you want to show only the folders in current the directory ? And not all files ?

Try this one:
$ ls -d */

Where -d lists the directory itself, not the contents and */ shows every folder in the current directory.

Coin Marketplace

STEEM 0.13
TRX 0.24
JST 0.032
BTC 83616.40
ETH 2136.04
USDT 1.00
SBD 0.76