Hello!
I’m a newbie programmer who uses a Mac ios version 10.14.6 - I’ve been working on the Lingua Franca project for Python but have discovered that my terminal does not work properly. I keep receiving error messages for multiple tasks, even though I follow the solutions to the letter. Can you help? Examples below:
Task 7: “…move Chinese.txt file to the asia directory”
I tried using the following code:
$ mv europe/chinese.txt asia
However, all this did was delete the chinese.txt from my europe directory altogether. I could not find it anywhere, I even physically went into the folders and checked each one, but it’s totally gone.
Task 10: “Please copy the todo files to their appropriate locations under the current top-level directory.”
Again, I used the appropriate code:
$ cp todo/africa/* africa
and received this error message:
$ cp todo/africa/: No such file or directory
Task 14: “List the files, across all the continent directories, that end with .txt that have no content and save the listing in a file, empty_files.txt , in the todo/ directory.”
I tried a few things that I thought might work, but nothing did - this includes creating a new empty_files.txt file. Out of frustration, I checked the Solutions page and copied the code from there:
$ wc -l */*.txt | grep 0 > todo/empty_files.txt
I received an error message:
-bash: todo/empty_files.txt: No such file or directory
Here’s a link to the exercise I want help with. Any help would be amazing, thank you!
Happy New year