s6-portable-utils: the s6-ls program
Keywords: s6-portable-utils command s6-ls ls directory list

s6-portable-utils
Software
skarnet.org

# The `s6-ls` program

s6-ls lists the contents of a directory.

## Interface

         s6-ls [ -0 ] [ -a | -A ] [ -x exclude ] dir

s6-ls lists the contents of dir, one file per line. It omits files starting with a dot.

## Options

- `-0` : separate file names with a null character instead of a newline.
- `-a` : do not omit files starting with a dot. Do not list `.` or `..` though.
- `-A` : do not omit files starting with a dot, even `.` and `..`
- `-x` exclude : if a file name is exclude, do not print it.

## Posixness

s6-ls is not suitable as a Single Unix ls program.