• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Third-party exchanges:
  • Poloniex 
  • Advertise 
  • Jobs at Steemit 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Home
Online–(0 logged in · 0 anonymous)·24 h–(0 logged in · 0 anonymous)·28 d–(0 logged in · 0 anonymous)
EN▾
LoginSign up

Linux: How to list only folders with ls

decl (25)in #linux • 9 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.

#cli #ls #folders
9 years ago in #linux by decl (25)
100%
    10%25%50%75%100%
    $0.00
      1 vote
      • + fokhins
      Reply 0