Question
You have seen “<(” in Linux. What does it do?
Answer
A command encapsulated in parens and having the “<” symbol on the left is a way to do process substitution.
Here is an example:
diff <(hostname -f) <(date)
The diff command can compare the results of two different commands. To read more about process substitution,
…
Continue reading “What Does the Less-than and Parentheses Syntax in Linux/Bash Signify?”