I can see >> is append and > is overwrite but I do not know what < < does with a space in the middle. What does this do, and does the direction of these arrows matter? For example: Answer < redirects a file as input to a command. <(…) is a process substitution – it is replaced by a
Tag: operators
bash command XOR ^ anothercommand
In the example below: what’s the expected behaviour of the XOR operator in shell? So when we enter what triggers anothercommand to run (if it will execute at all)? Answer If you enter command ^ anothercommand, you are simply providing command with two arguments, ^ and anothercommand. There is no operator here. anothercommand will only run if command decides to