Home > Article > Operation and Maintenance > What is the alias command?
The alias command is used to set the alias of the command. Users can use alias to customize the alias of the command. The syntax of the command is "alias [alias] = [command name]". If no parameters are added, , all current alias settings will be listed.
Recommended: "linux tutorial"
The Linux alias command is used to set the alias of the command.
Users can use alias to customize the alias of the command. If you only enter alias, all current alias settings will be listed. The validity of alias is only limited to the login operation. If you want to automatically set the alias every time you log in, you can set the alias of the command in .profile or .cshrc.
Syntax
alias[别名]=[指令名称]
Parameter description: If no parameters are added, all current alias settings will be listed.
Example
Set an alias for the command
# alias lx=ls # lx anaconda-ks.cfg Desktop install.log install.log.syslog qte
The above is the detailed content of What is the alias command?. For more information, please follow other related articles on the PHP Chinese website!