How do you use variables in an alias? For example if pbcopy will allow me to access the clipboard (copied ip address) and assign it to $ip I could copy an IP address and then use an alias such as the below failed example.
alias go='ip=pbpaste | ssh $ip -l pete'
I usually use pbpaste/pbcopy, but you may want to find something with a history for your uses.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With