How do i get Terminal to accept sudo echo?
Last login: Thu Nov 11 11:46:46 on ttyp1
Welcome to Darwin
520bro057036b:~ user-name$
* At the prompt type:
sudo echo "xxx.xxx.xxx.xxx example.com" >> /private/etc/hosts
_____________________________
followed this instruction and got "-bash: /private/etc/hosts: Permission denied"
-expected perhaps to be asked for password but it didn't do that
-logged in under administrative user
Any suggestion what i've done wrong? My first exposure to the Terminal utility also -Where can i find documentation on what is the Terminal window to try and understand what is going on in general?
MacBookPro, Mac OS X (10.4.11), IntelCore Duo; 2 GB 667 MHz DDR2 SDRAM