re: 5 Handy Bash Tricks in 2 Minutes VIEW POST

FULL DISCUSSION
 

My favorite piece of knowledge:

If you choose to make an alias for sudo, you should ensure there is a space at the end, or else the shell will not expand any more aliases within the command.

So if I wanted to use please instead of sudo, I would need to do:

alias please="sudo "

I am always tempted to put spaces around the equals sign, probably my #1 scripting mistake.

code of conduct - report abuse