There are two formats for redirecting standard output and standard error:
&>word
and
>&word
Of the two forms, the first is preferred. This is semantically equivalent to
>word 2>&1
When using the second form, word may not expand to a number or ‘-’. If it does, other redirection operators apply (see Duplicating File Descriptors below) for compatibility reasons.
cmd > file.log 2>error.log
>/dev/null
&>/dev/null
Можно ли устроится на работу в Москве на js разработчика, после 11 класса, совмещая работу с учёбой (изучаю программирование менее двух лет)
На какой средний заработок можно рассчитывать?
тут весь вывод консоли мы отправляем в /dev/null
отправляйте его в лог файл
nohup /usr/bin/python3.6 /home/usertest/bot.py &>/home/usertest/bot.log &