+1 vote
in Linux by
What is command grouping and how does it work?

1 Answer

0 votes
by
You can use parentheses to group commands. For example, if you want to send the current date and time along with the contents of a file named OUTPUT to a second file named MYDATES, you can apply command grouping as follows: (date cat OUTPUT) > MYDATES
...