On Thu, Jun 15, 2017 at 6:49 PM, Taylor Eisman <address@hiddenedu> wrote:I've been having trouble writing a file to a folder on Linux - Ubuntu. I've attached a screenshot of the error below. If you have any further questions, please ask!
For the future — It's better to copy and paste the text rather than a screenshot. Some errors are best investigated by running parts of the program, and plain text is usually easier to read (or make readable).
In your case, at least one problem is that you have a "~" in your path. "~" is not part of regular pathname syntax — it is a special character in the standard shell, just like "$" is for variables, but it means nothing to other programs. So the error is probably because you don't have a directory actually named "~".
You should replace the "~" with a literal path ("/home/eisman/" or whatever your home directory actually is).