Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chrisfosterelli
on Oct 21, 2017
|
parent
|
context
|
favorite
| on:
Linux ransomware in the wild
Based on the sibling comment to yours, I don't think bash supports this. zsh allows you to make a \'sudo\' alias though, so it depends on your shell.
wrycoder
on Oct 21, 2017
[–]
At least in bash, quoting the command disables any alias. Maybe also in zsh?
chrisfosterelli
on Oct 21, 2017
|
parent
[–]
zsh seems to have much more flexible alias rules than bash:
> alias \'sudo\'='ls -a' > 'sudo' . ..
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: