I'm trying to convert the following csh alias to work with sh:-
alias png ping -c3 192.168.1.\!$
which when run as
png 99 will run
I tried the following including various combinations
alias png='ping -c3 192.168.1.'\!$
but haven't stumbled across the correct form yet. Can anyone help?
alias png ping -c3 192.168.1.\!$
which when run as
png 99 will run
ping -c3 192.168.1.99
I tried the following including various combinations
alias png='ping -c3 192.168.1.'\!$
but haven't stumbled across the correct form yet. Can anyone help?