Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ true(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh

true

PURPOSE

     Returns an exit value of zero.

SYNOPSIS
     true

     false


DESCRIPTION

     The true  command returns a  zero exit value.   The false
     command  returns a  nonzero  value.   These commands  are
     usually used in input to the sh command.

EXAMPLE

     To construct an infinite loop in a shell procedure:

       while true
       do
          date
          sleep 60
       done

     This shell  procedure displays the  date and time  once a
     minute.  To stop it, press INTERRUPT (Alt-Pause).

RELATED INFORMATION

     The following command:  "sh."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026