I am trying to create some alias for executing the same command but with sudo credentials. In the ultimate case I want to be something like:
alias !!='sudo !!'
But when I source /.bashrc
file this particular alias doesn't work for some reason.
I am trying to create some alias for executing the same command but with sudo credentials. In the ultimate case I want to be something like:
alias !!='sudo !!'
But when I source /.bashrc
file this particular alias doesn't work for some reason.
alias l="ls -FC"
is invalid? – ron Feb 23 '17 at 18:28l
. Sure, it use arguments but itself has none. Try to define a alias for afind -user self -print
with a directory as argument. – ingopingo Feb 23 '17 at 18:37