true
Returns a successful exit status code of 0. Use this with the || operator to make a command always exit with 0. More information: <https://www.gnu.org/software/coreutils/true>.
Install
- All systems
-
curl cmd.cat/true.sh
- Debian
-
apt-get install coreutils
- Ubuntu
-
apt-get install coreutils
- Alpine
-
apk add coreutils
- Arch Linux
-
pacman -S coreutils
- Kali Linux
-
apt-get install coreutils
- CentOS
-
yum install coreutils
- Fedora
-
dnf install coreutils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install coreutils
- OS X
-
brew install coreutils
- Raspbian
-
apt-get install coreutils
- Dockerfile
- dockerfile.run/true
- Docker
-
docker run cmd.cat/true true
powered by Commando
Returns a successful exit status code of 0. Use this with the || operator to make a command always exit with 0. More information: <https://www.gnu.org/software/coreutils/true>.
-
Return a successful exit code:
true
© tl;dr; authors and contributors