the command I tried but failed

I run the command in the screen shot though ssh to my raspberry pi. All I get is a blank file. I know the file exists, and has code in it, but nano must've not understood me. Here is what I get when I "ls". what is inside the folderCan anyone give me the correct terminal command? My pi that I'm sshing to runs the official RetroPie image. I'm using putty as my SSH program.

  • Cute woof but a copy / paste of the error is easier to read. My guess the name is wrong. Try to use tab to complete the name rather than single quotes (not even sure that works). Part type each bit then use tab to complete the rest and when you get to the file name just type D and press tab. If there are multiple files Or directories beginning the same pressing tab twice will list them for you - just add a few more characters and try tab again. e.g. /etc/fs then press tab will complete the file /etc/fstab where as /boot/co tab will not complete as config.txt and configs/ exist – Andyroo Jun 19 at 20:54
  • So you will need to type config. or configs to complete using the tab – Andyroo Jun 19 at 20:55
  • Why is there a space before .cfg ? – Michael Harvey Jun 19 at 22:47
  • 2
    Please don't use pictures of text. They are unreadable. Instead paste the text direct into the question. – Ingo Jun 20 at 17:10
  • 2
    Does the file name really have all those spaces? Why don't you either use tab-completion, or copy the filename from the output of ls (adding quotes at start and end)? – Michael Harvey Jun 21 at 19:27

as it turns out I did not put the correct number of spaces between word on the file name. After I corrected this it worked fine.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.