dirs
Verified for current stable LTS
Dirs Command: Clear Directory Stack
Use for clear directory stack with Dirs. Exact CLI syntax to clear directory stack using Dirs.
When to use this: Use for clear directory stack with Dirs.
Command Syntax
dirs -c dirs -c Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to clear directory stack using Dirs.
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
Dirs Command: Display Directory Stack No Tilde Prefix
dirs -l Dirs Command: Display Directory Stack One Entry Per Line dirs -p Dirs Command: Display Directory Stack Space Separated dirs Dirs Command: Display Nth Entry From End Of Directory Stack dirs -<n> Dirs Command: Display Nth Entry In Directory Stack dirs +<n>