dir command in Linux lists the directory contents using one line per file. The special characters are represented by backslash escape sequences. This works similar to the command:
# ls -C --escape
dir Command Examples
1. List all files, including hidden files:
# dir -all
2. List files including their author (`-l` is required):
# dir -l --author
3. List files excluding those that match a specified blob pattern:
# dir --hide=pattern
4. List subdirectories recursively:
# dir --recursive
5. Display help:
# dir --help