I know chmod doesn't run the file, but how would I execute the cc command when it's still in .txt form? (I tried dragging the file into a Terminal window and hitting "Return, but with no luck.")
Instead of telling us about it, showing us the
actual terminal text is much preferred. I have a strange feeling that terminal didn't reply with "
no luck".
First (before I forget again), thanks for the
Hayne of Tintagel link.
OK... I guess I managed to confuse myself and tried to run an un-chmodded version of cc.txt, because a chmodded version runs:
Last login: Sun Jan 15 01:28:49 on ttys000
Artie-s-Computer-4:~ artie$ /Users/artie/Desktop/cc.txt
-bash: /Users/artie/Desktop/cc.txt: Permission denied
Artie-s-Computer-4:~ artie$ chmod a+x /Users/artie/Desktop/cc.txt
Artie-s-Computer-4:~ artie$ /Users/artie/Desktop/cc.txt
4 ally.com 4 google.com 9 wunderground.com
5 chase.com 12 intuit.com === =====================
13 cnet.com 35 macupdate.com 126 cookies in 11 domains
9 ebay.com 23 paypal.com
3 finetunedmac.com 9 vanguard.com
Artie-s-Computer-4:~ artie$
Sorry about the confusion.