Pass Output of One Command to Another
The below Linux command has one purpose, to create a file with the current date in a single command line, but its concept can be used in many other ways. date +%Y-%m-%d | xargs -I {} touch file_{}
The below Linux command has one purpose, to create a file with the current date in a single command line, but its concept can be used in many other ways. date +%Y-%m-%d | xargs -I {} touch file_{}