Another really useful redirection-related BASHism: <( ):
Useful if, say, you want to check to see if a local file and an S3-hosted file are the same:
$ sha256sum <( aws s3 cp s3://BUKKIT1/file - ) ./file
Similarly, can be used for things like diffing two streams:
diff <( aws s3 cp s3://BUKKIT1/file - ) <( aws s3 cp s3://BUKKIT2/file - )
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.