Remove an alias

suggest change

To remove an existing alias, use:

unalias {alias_name}

Example:

# create an alias    
$ alias now='date'

# preview the alias
$ now
Thu Jul 21 17:11:25 CEST 2016

# remove the alias
$ unalias now

# test if removed
$ now
-bash: now: command not found

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents