Hi ...again
Is it possible to force a command to be run only with specific parameters?
For instance i would like the command iptables to be run only with paramter lets say -L
thanks
Hi ...again
Is it possible to force a command to be run only with specific parameters?
For instance i would like the command iptables to be run only with paramter lets say -L
thanks
Not exactly sure if this is exactly what you want, but you can make an alias.
You can type them in at any command line prompt, or better yet, add them to ~/.bash_aliases to make them apply every time you log in.Code:alias iptables='iptables -L' alias ls='ls --color=auto --classify --human-readable --group-directories-first
I'd rather have a bottle in front of me, than a frontal lobotomy!
Bookmarks