serdo(1)

serdo1

Run commands serially

Usage

serdo [-c] filename

Overview

serdo will open the file given by the command line argument and serially execute all the commands in it. If a command fails, the whole batch job is aborted (unless -c is given as first paramter on the serdo command line).

serdo understands the cd and export sh(1) built-ins (no loops, no ~user expansion, no $FOO expansion, no backticks).

serdo is very limited by design, but it is nice to have if you just want to run a few ifconfig, ip, route commands in sequence. serdo will return the exit code of the last command it ran, 0 if none were given.

Releases

Unchanged in 3 releases since Debian 5.0 (Lenny).

  1. 5.0–7

Author

minit was written by Felix von Leitner and can be downloaded from http://www.fefe.de/minit/

From minit 0.10-5 in Debian 7 (Wheezy). Parsed by carta from the page's man source.