How to make the user-defined command alias for Linux permanently effective.
The alias (Chinese called "Alias") allows you to redefine the Shell command in Linux with a shorter name, simplifying the command line input. If you often deal with the
Brief descriptionIn Windows PowerShell, aliases are alternative names for cmdlets or other commands.
Detailed descriptionAliases are cmdlet or commands (for example: functions, scripts, files, executables.) Alternative name, or a nickname. You can
alias(Chinese is called"aliases"allows a shorter name to be used to redefineLinuxin theShellcommand, which simplifies the input of the command line. If often withCLIdeal with, then usealiasnot only will save time, but also can improve efficiency,
My new understanding of alias: Using alias to make rm safer, aliasrm
Rm's tragedy always happens inadvertently. Therefore, whether in shell scripts or interactive bash environments, you should always think twice before executing rm commands. As a
How to set up alias in linuxSetting alias in centos is relatively simple, for example:Vim/root/. bashrcSample code:AddAlias rm = 'rm-I'Detailed description of alias commands for setting commands in Linux aliasFunction description: sets the alias of
Basic tutorial on using table alias and field alias in MySQL,
MySQL table Alias (Alias)SQL table aliasIn an SQL statement, you can specify an Alias (Alias) for the table name and field (column) name. The Alias is a standard SQL syntax and is
Command alias: Alias
Alias displays all aliases defined in the current shell
[Root@zabbix_agentd zabbix]# AliasAlias cp= ' Cp-i 'Alias egrep= ' Egrep--color=auto 'Alias fgrep= ' Fgrep--color=auto 'Alias grep= ' grep--color=auto 'Alias l.= ' ls-d. *
Aliases alias alias
The Linux system assigns aliases to commands under the alias alias command usage:In a Linux system, if the command is too long and does not conform to the user's habits, then we can assign an alias to it. Although it is possible
Http://blog.csdn.net/lovecady/article/details/2562026
When an assembly reference is added, a type conflict may occur. That is, if the type defined by your application in another assembly has the same name, you must add an alias for the
The alias command is used to set the name of the directive. We can use this command to simplify some of the longer commands. When using alias, the user must use single quotes ' to cause the original command to prevent special characters from causing
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.