Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

from https://help.ubuntu.com/community/DOSBox

The first thing I try is:

In a regular terminal, (NOT DOSBox), you can execute

mkdir ~/dos/c 

which will create the /dos/c directory in your home directory.

I can not do this very simple first step. I get error:

cannot create directory
share|improve this question
Now the wiki is fixed. –  Braiam Oct 16 '13 at 20:28

1 Answer 1

You'll need to use this command:

mkdir -p ~/dos/c

The -p option will automatically make any parent folders if they don't exist.

The reason the command is failing for you is that you're trying to create "c" inside of the "dos" folder, but the dos folder doesn't exist. You could also work around this by running each command separately:

mkdir ~/dos
mkdir ~/dos/c
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.