How to delete an alias?

what would i do if i want to delete an alias? after when i do “source ~/.bash_profile” because i cant seem to find a way how.
thank you

use the unalias command or remove it from your startup file and start a new shell
sourcing just runs the commands in the file, it won’t undo what isn’t there unless there are commands to do exactly that

1 Like

thanks a lot :smiley: aaaaaa

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.