This website is released under |
Process substitutionSyntaxcommand_1 <(command_2) Run command_1 >(command_2) Run Examples# sort two files and present the differences between the results using the diff # command diff <(sort file_1) <(sort file_2) # compare two MD5 checksum manifests generated by 'md5deep' diff <(cat file_1.md5 | awk -F"/" '{print $1 $NF}' | sort -k2) \ <(cat file_2.md5 | awk -F"/" '{print $1 $NF}' | sort -k2) # compare two web files diff -s <(curl https://site_1/file_1) <(curl https://site_2/file_2) 2022-01-30 |