Why start a shell command with a backslash?

alias curl="curl --some --default --options"

If you have an alias for curl and you don’t want to use it, putting a backslash in front disables the alias and runs the curl binary directly.

Note that this only applies at an interactive shell. Aliases don’t take effect in scripts so it would be unnecessary there.

Leave a Comment