osx - Permission denied for curl command -


i'm working through book grad school (see url below) , i've gotten part on curl programs.

i'm supposed enter command , have txt file of 30 days of miami weather.

curl "http://www.wunderground.com/history/airport/mia/1992/08/[01-30]/dailyhistory.html?&format=1" >> miamiweather.txt  

instead

-bash: miamiweather.tx: permission denied 

i new mac, think may issue permission. book made before maverick update, there in update interferes curl command? i've checked apple pages , forums no avail.

edit: forgot book url http://www.amazon.com/practical-computing-biologists-steven-haddock/dp/0878933913

edit: did not cd directory. creating file in home directory.

you either in write protected directory or file write protected.

try:

ls -l miamiweather.txt 

to see if file write protected.

try

cd 

to home directory , try curl command again.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -