/helpful-tips-and-commands

This folder is a collection of helpful tips and commands I use for work

helpful-tips-and-commands

This folder is a collection of helpful tips and commands I use for work

Table of Contents


Terraform

  1. Watch terraform plan 🏗️

    terraform plan | wc -l

AWS

  1. Check IAM account or role☁️

    aws sts get-caller-identity
  2. List instances

    aws ec2 describe-instances \
    --filters Name=availability-zone,Values=us-east-2c

Github

  1. Check Github account :octocat:

    git config -l
  2. Check current working branch 🌱

    git rev-parse --abbrev-ref HEAD

Mac

  1. Copy current path to clipboard 📋

    pwd | pbcopy
  2. Check Spotify Status 🎵

    curl -i https://open.spotify.com

Docker

  1. List images before created before a specific image 🐳

    docker images --filter "before=image1"