How To Install True?

How To Install True?

true

Returns a successful exit status code of 0.
Use this with the || operator to make a command always exit with 0.

Maintainer: Michael Stone



Section: utils

Install true

  • Debian apt-get install coreutils Click to copy
  • Ubuntu apt-get install coreutils Click to copy
  • Alpine OS apk add coreutils Click to copy
  • Arch Linux pacman -S coreutils Click to copy
  • Kali Linux apt-get install coreutils Click to copy
  • CentOS yum install coreutils Click to copy
  • Fedora dnf install coreutils Click to copy
  • Raspbian apt-get install coreutils Click to copy
  • macOS brew install coreutils Click to copy

Returns a successful exit status code of 0. Use this with the || operator to make a command always exit with 0.

How to use true?

Below are few example commands for true that you can use in the terminal.

Return a successful exit code:
trueClick to copy
Install the latest version of true in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the true just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of true from the respository and install it in your computer/server.