The original command that uses a backslash "\" to invoke an alias under the Linux command line

Source: Internet
Author: User
Tags aliases

Often see the author of the Linux software in the introduction of the installation software, in front of the command with a backslash, do not understand the meaning of the data later to know that this is to cancel the call of the alias, using the original command.

Alias is a shell built-in command that can be used to set the alias of a command, such as using the alias ls= ' LS--color=auto ' to set the color output when using LS

Precede the command with a backslash to temporarily deactivate the alias

Example: \ls

The original command of the LS is called directly, and the command with the color option set by alias is not used

The same thing, often appearing on the introduction of installation software, the author to ensure that you use the command and his use of the same, rather than the various system aliases, often in front of the command with a backslash to remove the alias.

For example: perlbrew.pl website, the following command was used when introducing the installation Perlbrew:

\wget-o-https://install.perlbrew.pl | bash

This is to ensure that the wget you use is consistent with the wget used by the author, not the aliases of the other commands.

The original command that uses a backslash "\" to invoke an alias under the Linux command line

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.