Tag: bash

  1. How to check with AWS cli if file exists in S3

    Today i was working on adding history trends feature from Allure report to our Integration API Tests Framework and in order to do that i need to implement simple algorithm: Check if folder for specific group of tests history exists If it exists, copy this folder to allure-results folder Generate…

    on aws s3 bash

  2. Get Notified when your command in Terminal has finished

    Currently i'm working a lot on serverless projects and deploying a new service that has multiple lambda's or event a step function can be time consuming. In this case it was quite often for me to "forget" about the running deploy in the Terminal and get distracted by…

    on iterm bash notification noti tip

  3. How to pretty print JSON in bash console

    Recently i was playing with Swagger Codegen tool and i needed to look at available configuration fields for java language. You can do it easily by running : curl -X GET --header 'Accept: application/json' 'https://generator.swagger.io/api/gen/clients/java' But, as an output, you'll get this : {"…

    on swagger-codegen javascript bash json prettyprint

  4. Bash remote vulnerability fix for Mac Os users

    As you may heard, there's a critical vulnerability found in bash recently. According to CSO A remotely exploitable vulnerability has been discovered by Stephane Chazelas in bash on Linux, and it is unpleasant. The vulnerability has the CVE identifier CVE-2014-6271. This affects Debian as well as other Linux distributions. The…

    on macosx bash vulnerability CVE-2014-6271