ls
Verified for current stable LTS
Ls Command: Only List Directories
Use for only list directories with Ls. Exact CLI syntax to only list directories using Ls.
When to use this: Use for only list directories with Ls.
Command Syntax
ls -d */ ls -d */ Command Breakdown
-d- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to only list directories using Ls.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Ls Command: List All Files Including Hidden
ls -a Ls Command: List All Files Long Format ls -la Ls Command: List Files Long Format Human Readable Size ls -lh Ls Command: List Files Long Format Sorted By Size Descending Recursively ls -lSR Ls Command: List Files Long Format Sorted By Time Reverse Order ls -ltr