Posted inBasics
What does 2>&1 mean in shell ?
Linux and Unix shell redirections are very useful in command line and shell scripting to redirect and collect errors and outputs. Standard output and standard errors are used a lot but still there is lot of confusion about the meaning, actual execution and correct way to utilize it. learn about 2>&1 redirection with examples to use in your scripts and commands.