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.

I wrote this command in my editor but no result (no warehouse directory)

sudo mkdir -p /Downloads/hive/warehouse

How do I make this work?

share|improve this question

migrated from stackoverflow.com Jun 4 '12 at 0:28

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 2 down vote accepted

What do you mean by an "editor"? Why would you expect a result from writing something in an editor, instead of the terminal?

And where do you think the folder is created ? Because of the starting /, you are asking Ubuntu to create a directory at the root of your system, not in your home or whatever.

share|improve this answer

Your Answer

 
discard

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.