Alias
Unalias
Alias view the current command's macro definition status
Unalias [command] cancels the macro definition of the commands (memory operations, non-modified macro definition source files, restart invalidation)
To use the original command with the renamed command, add the "\" backslash symbol before the command, or use the absolute address of the command to invoke it.
Cases:
CP command, when there is a file with the same name at the destination address, prompts whether to overwrite paste
Use the alias command to learn that the CP command was renamed "Cp-i (interactive interactive )"
If you do not modify the alias file (Unalias or modify the source file), you can use the "\CP" or "/BIN/CP" command without parameters.
Alias's configuration file in:
/etc/profile Global Effect
~/.BASHRC the current user is in effect
If you want to recover after using the Unalias command to cancel the rename (only memory modification), you can overload the configuration file with the "sourse" command:
Sourse ~/.BASHRC
Small knowledge:
Can't you tell the pros and cons??
That's because you didn't understand it from an English perspective.
Slash slash (forward slash '/') and backslash (backslash ' \ ')
/: Forward to call forward, so called forward slash
\: Backward call back, so call backward slash
Linux Learning Note 6_ Basic command Review 1 (alias Unalias sourse)