I recently created the alias in eshell:

alias hello 'echo "Hello World"'

So now whenever I type hello:

enter image description here

I am very used to creating temporary alias in the Terminal for more subtle use. And then putting my more permanent alias in the .bashrc file. So how do I remove the alias for hello? Do I have to set another alias for hello that does nothing? Is there an file that I have to edit to change this?

2 Answers 2


The alias command of eshell can also be used to remove aliases: just leave out the definition part.

$ alias hello
  • Thanks for the answer, no I don't have to open up any files. Oct 5, 2014 at 15:09

Okay, I went into my home folder and found the .eshell file. Inside I found a file named alias and opened it. That is where I found the place to edit and delete alias.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.