Detailed description of alias commands in linux: sets the alias of commands. Www.2cto.com Syntax: alias [alias] = [command name] parameter: If no parameter is added, all alias settings are listed. For example, ermao @ lost-desktop :~ $ Alias egrep = 'egrep -- color = auto' alias fgrep = 'fgrep -- color = auto' alias grep = 'grep -- color = auto' alias l = 'LS-CF' alias la = 'LS-a' alias ll = 'LS-alf' alias ls = 'ls -- color = auto: you can use alias to customize the alias of the command. If you only enter alias, all current alias settings can be listed. Alias is valid only for this login operation. If you want to automatically set an alias for each login, you can go to/etc/profile or your own ~ /. Set the alias of the command in bashrc. Also, if you want to add the alias la = 'LS-al' line to the end of/etc/bashrc, bashrc is the environment variable configuration file/etc/bashrc and ~ /. The difference between bashrc and bashrc is that it is set for all systems and for single users. alias can be used to change a long command into any short one we like. If you want to take effect permanently, write this command into/etc/bashrc.