title: terminal sudo command
body: <p>I'm a complete novice at this (terminal in Mac leopard) and hoping to get an lifeline from the web as I've certainly hit a wall. </p>
  
  <p>I want to run a script as a root in terminal. The script is saved as a text file with a .rtf extension. I've inserted into terminal:</p>
  
  <pre><code>sudo filename.rtf
  </code></pre>
  
  <p>then I get asked a password which I've typed in (admin password) and pressed enter; then it shows a prompt: sudo: Mac: command not found</p>
  
  <p>I've tried it with the extension hidden but got the same result. Any pointers on what I'm doing wrong? </p>
  
  <p>Thanks in advance</p>