Sometimes you might want to redirect both stdout and stderr to same place. You can do it like:
[root@linux ~]# ./script.sh >/dev/null 2>&1
But there is a shorter way…
Continue readingSometimes you might want to redirect both stdout and stderr to same place. You can do it like:
[root@linux ~]# ./script.sh >/dev/null 2>&1
But there is a shorter way…
Continue reading