jeroenjanssens / data-science-at-the-command-line

Data Science at the Command Line
https://datascienceatthecommandline.com
Other
3.77k stars 766 forks source link

In Ch04, permission denied when executing my script #135

Open lobaluna opened 2 years ago

lobaluna commented 2 years ago

Hi, I have assigned permissions to execute to all, but still my script (named differently, not 'top-words-n.sh') cannot run. First I assigned execute permission to user only, but it didn't work neither :(

Since we are in the zsh shell, it returns an error:

$ ./palabras-comunes.sh        
zsh: permission denied: ./palabras-comunes.sh

However, if I use:

$ zsh ./palabras-comunes.sh

…the script is executed.

The same happens to the last code example in section 4.2.4. Please update the wording of the text in the chapter, accordingly.