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.

When i open terminal I type Mkdir name of folder Cd name of folder When I write gedit x.cpp the cpp file is not created and the file doesn't open to write the code Any ideas why this happens? I even added quotations after gedit but still The cpp file was not created.

share|improve this question
    
Why do you write mkdir and cd capitalized? –  N.N. Jun 15 '12 at 17:47
add comment

1 Answer 1

Are You sure you have permissions to create files in this directory? Maybe Gedit is not working correctly, try reinstalling it using sudo apt-get purge gedit and sudo apt-get install gedit. I have no other ideas.

share|improve this answer
    
When i entered sudo a message appeared command couldnt be found –  badr yasser Jun 14 '12 at 21:23
add comment

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.