Usefull Oneliners
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodotos Andreou 5ad7830fbf Typo 5 years ago
LICENSE Initial commit 5 years ago Typo 5 years ago

Usefull Oneliners


  • Set tab to 4 spaces:

    set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab


  • Find my public IP:

    dig +short
  • Check if private and public ssh keys match:

    diff <(cat ~/.ssh/ | cut -d' ' -f 2) <(ssh-keygen -y -f ~/.ssh/id_rsa | cut -d' ' -f 2)'