3 ms·
> So they check .bash_history and then they realize they just need to also `alias /usr/bin/sudo`. $ alias /usr/bin/sudo=whatever bash: alias: `/usr/bin
by kbp 9y ago
> So they check .bash_history and then they realize they just need to also `alias /usr/bin/sudo`.
$ alias /usr/bin/sudo=whatever
bash: alias: `/usr/bin/sudo': invalid alias name
- chrisfosterelli 9y agoOh, fair point. Not all shells support this apparently. zsh does: -> alias /usr/bin/sudo='ls -a' -> /usr/bin/sudo . ..