/dev/null 2>&1 site:unix.stackexchange.com - Axtarish в Google
9 июн. 2020 г. · In a nutshell, >/dev/null or indeed 1>/dev/null sends filehandle 1 (stdout) to /dev/null. 2>&1 sends filehandle 2 (stderr) to filehandle 1.
4 мар. 2016 г. · 2>&1 will redirect stderr to wherever stdout currently points to. The argument >/dev/null will redirect stdout to /dev/null ie discard/silent the output by ...
21 окт. 2014 г. · >/dev/null 2>&1 redirects the output of your program to /dev/null. Include both the Standard Error and Standard Out.
28 янв. 2019 г. · program_name > /dev/null 2>&1. Which says "redirect writes to file descriptor 1 to /dev/null and redirect writes to file descriptor 2 to the ...
23 февр. 2022 г. · Those two commands are not the same. 1>stdout filename must be located in between the command and 2>&1. $ command 1> stdoutput_filename 2>&1.
3 апр. 2013 г. · This is just an abbreviation for >/dev/null 2>&1 . It redirects file descriptor 2 (STDERR) and descriptor 1 (STDOUT) to /dev/null . >/dev/null.
20 апр. 2020 г. · The intent with 2>/dev/null is to hide errors produced by grep by redirect any diagnostic messages to /dev/null (a special device file that discards the data ...
3 июн. 2017 г. · 2>&1 causes the standard error of the command to be discarded. In your example, this contains status and error information displayed by wget.
19 мар. 2012 г. · > /dev/null redirects standard output to nowhere, i.e. the lines that egrep usually outputs · 2>&1 redirects the error output also to the same ...
14 мар. 2014 г. · Using > /dev/null 2>&1 will redirect all your command output (both stdout and stderr ) to /dev/null , meaning no outputs are printed to the terminal.
Novbeti >

 -  - 
Axtarisha Qayit
Anarim.Az


Anarim.Az

Sayt Rehberliyi ile Elaqe

Saytdan Istifade Qaydalari

Anarim.Az 2004-2023