Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where should I put personal shell configurations when using dash?

share|improve this question
up vote 2 down vote accepted

There is no default file, you should set its name in the ENV environment variable. So add to your .profile the line

ENV=$HOME/.shinit; export ENV

so that .shinit becomes the equivalent of .bashrc.

But take into account that dash is not suitable for interactive use, given that do not provide any line editing capabilities (this can be solved: see How to have editing capabilities in command line apps that do not provide them).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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