how to download a file from s3 cli code example Example: how to download a file from s3 cli $ aws s3 cp s3://samplebucket/somefolder/afile.txt .