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

in #linux7 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.17
TRX 0.16
JST 0.029
BTC 60767.58
ETH 2376.67
USDT 1.00
SBD 2.57