Originally Posted By: Hal Itosis
Originally Posted By: artie505
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". smile


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:

Code:
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.

Last edited by artie505; 01/15/12 05:45 AM. Reason: Expand code section

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire