0

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.

1
  • Why do you write mkdir and cd capitalized?
    – N.N.
    Jun 15, 2012 at 17:47

1 Answer 1

0

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.

1
  • When i entered sudo a message appeared command couldnt be found Jun 14, 2012 at 21:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .