LINUX command behind the common meaning> / DEV / NULL, and 2> & 1

 

 

  • > Symbol to redirect
  • > / dev / null  output to the null device, output information indicates lost.
  • 2> & 1  will be output to the standard error output to the standard output device (usually the screen)
    has three default i / o,
  • is the standard input, the keyboard is generally
  • is the standard output, usually the screen
  • is the standard error, and sometimes you can see on the screen, but do not see the redirection of file it is

Guess you like

Origin blog.csdn.net/xiebingsuccess/article/details/91859860