OS Manuals

/usr/bin/run-parts

Miscellaneous utilities specific to Debian

From debianutils 5.24-r2 (os), captured 2026-11-05 by running run-parts --help (exit 0). permalink

Usage: run-parts [OPTION]... DIRECTORY [DIRECTORY ...]
      --test          print script names which would run, but don't run them.
      --list          print names of all valid files (can not be used with
                      --test)
  -v, --verbose       print script names before running them.
  -d, --debug         print script names while checking them.
      --report        print script names if they produce output.
      --reverse       reverse execution order of scripts.
      --exit-on-error exit as soon as a script returns with a non-zero exit
                      code.
      --stdin         multiplex stdin to scripts being run, using temporary file
      --lsbsysinit    validate filenames based on LSB sysinit specs.
      --new-session   run each script in a separate process session
      --regex=PATTERN validate filenames based on POSIX ERE pattern PATTERN.
  -u, --umask=UMASK   sets umask to UMASK (octal), default is 022.
  -a, --arg=ARGUMENT  pass ARGUMENT to scripts, use once for each argument.
  -A, --after=PROG    run PROG after each script runs.
  -B, --before=PROG   run PROG before running each script.
  -V, --version       output version information and exit.
  -h, --help          display this help and exit.
Options (15)
OptionDescriptionSource
--testprint script names which would run, but don't run them.help
--listprint names of all valid files (can not be used withhelp
-v, --verboseprint script names before running them.help
-d, --debugprint script names while checking them.help
--reportprint script names if they produce output.help
--reversereverse execution order of scripts.help
--stdinmultiplex stdin to scripts being run, using temporary filehelp
--lsbsysinitvalidate filenames based on LSB sysinit specs.help
--new-sessionrun each script in a separate process sessionhelp
-u, --umask UMASKsets umask to UMASK (octal), default is 022.help
-a, --arg ARGUMENTpass ARGUMENT to scripts, use once for each argument.help
-A, --after PROGrun PROG after each script runs.help
-B, --before PROGrun PROG before running each script.help
-V, --versionoutput version information and exit.help
-h, --helpdisplay this help and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.