• Retrive the Windows uptime using the CLI

    2 min read

    Windows uptime net stats srv systeminfo

    System uptime can be useful for both casual competitions among friends to see who has the system with the longest uptime, as well as for more practical purposes such as identifying if a problem is caused by a system restart. In this article, we will explore two methods for obtaining the uptime on Windows systems.

    16/02/2023

    Read more...
  • AWS CLI: Error parsing AWS config file

    1 min read

    AWS parse config file .aws/config

    One mistake on the .aws/config can lead to a very imprecise error message:

    $ aws sts get-caller-identity
    (...)
    botocore.exceptions.ConfigParseError: Unable to parse config file: /home/pet2cattle/.aws/config
    

    01/12/2022

    Read more...
  • AWS CLI manage files on an S3 bucket

    2 min read

    Using the AWS CLI we can perform most operations for files sitting on a S3 bucket such as: list, copy, rename, cat, etc...

    28/04/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets