Linux One small step per day---The alias command detailed

Source: Internet
Author: User
Tags aliases

1 command functions

The alias command is used to set an alias for an instruction, and aliases set by the alias command are limited to the login operation, and an alias can be set in/etc/profile or in your own ~/.BASHRC if you want to automatically set a nickname each time you log in.

2 command syntax

alias "option" "Alias" = ' "instruction name" '

3 Command parameters

-P Print command aliases already set

4 usage Examples

    • Displays command aliases that have been set in the system

    • Set an instruction alias

Linux One small step per day

Source: Http://www.cnblogs.com/westoslinux

If you really feel that the article is well written, and helpful to you, may wish to help "recommend", your "recommendation" will be my biggest writing motivation!

The copyright of this article is owned by the author, welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to give the original link!

Linux One small step per day---The alias command detailed

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.