|
|
Meaning of >/dev/null 2>&1 - Linux
|
Views : 260
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
What is >/dev/null 2>&1 in Crontab's Cron Job
If you use cron job on Linux, some times you want to ignore the output of the command you executed.
This can be done by adding "> /dev/null 2>&1" behind the cron job command.
"/dev/null" is just redirect all the output to /dev/null which in Linux means we don’t care with the output. |
|
By Sanju, On - 2011-09-16 |
|
|
|