#Linux Syntyax to redirect error and output messages to /​dev/null

in #linux5 years ago (edited)

$ command > /dev/null 2>&1     $ command &>/dev/null

$ ./script.sh > /dev/null 2>&1     $ ./script.sh &>/dev/null

Coin Marketplace

STEEM 0.26
TRX 0.07
JST 0.033
BTC 23825.64
ETH 1778.27
USDT 1.00
SBD 3.27