Browse Source

update bash alias for myip

master
Markus Bergholz 1 year ago
parent
commit
24ba62cfc1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bash/alias.bashrc

+ 2
- 1
bash/alias.bashrc View File

@ -24,7 +24,8 @@ alias ap=ansible-playbook
alias passgen='od -N 4 -t uL -An /dev/urandom | tr -d " "+%s | sha256sum | base64 | head -c 32 ; echo'
alias spassgen='solo key rng hexbytes|sha256sum |base64|head -c 32 ; echo'
alias würfel='echo $((16#$(solo key rng hexbytes)))|tail -c '
alias myip='curl ifconfig.me'
alias myip='dig +short myip.opendns.com @resolver1.opendns.com'
alias myip_='curl ifconfig.me'
alias signkey='ssh-keygen -s ~/.ssh/osuv -I hetzner.osuv.de -n m -V +1w ~/.ssh/id_ed25519.pub'
alias otp='ykman oath code'
alias dnsinfo='resolvectl status'

Loading…
Cancel
Save