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
    – user115418
    Jun 19, 2020 at 20:54
  • So you will need to type config. or configs to complete using the tab
    – user115418
    Jun 19, 2020 at 20:55
  • Why is there a space before .cfg ? Jun 19, 2020 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, 2020 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)? Jun 21, 2020 at 19:27

1 Answer 1


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.

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