Alias (command) - Removing Aliases

Removing Aliases

In Unix shells and 4DOS/4NT, aliases can be removed by executing the unalias command:

unalias copy # Removes the copy alias unalias -a # The -a switch will remove all aliases; not available in 4DOS/4NT unalias * # 4DOS/4NT equivalent of `unalias -a` - wildcards are supported

In Windows PowerShell, the alias can be removed from the alias:\ drive using remove-item:

remove-item alias:ci # Removes the ci alias

Read more about this topic:  Alias (command)