dir
List directory contents using one line per file, special characters are represented by backslash escape sequences.
Works as ls -C --escape
.
More information: https://manned.org/dir.
-
List all files, including hidden files:
dir -all
-
List files including their author (
-l
is required):
dir -l --author
-
List files excluding those that match a specified blob pattern:
dir --hide={{pattern}}
-
List subdirectories recursively:
dir --recursive
-
Display help:
dir --help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.