alias with parameters

Posted by demas on Stack Overflow See other posts from Stack Overflow or by demas
Published on 2010-05-25T12:46:30Z Indexed on 2010/05/25 12:51 UTC
Read the original article Hit count: 271

Filed under:
|
|

If there is any possibility to use the parameters in zsh aliases? Something like this:

 alias ssh_nokia="ssh root@<ip_parameter>"

Usage:

 ssh_nokia 192.168.1.2

© Stack Overflow or respective owner

Related posts about linux

Related posts about shell