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 Answer
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.
mkdir
andcd
capitalized?