<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">Hello Michael,</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">&#160;</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">first you have to give your script an executable bit. Just type chmod +x your_script.py</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">Furhtermore, your script has to be in a directory that is also part of your search path. Type in echo $PATH to see how your path is set. You can either link or copy your script to an approprate location.</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">&#160;</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">Regards,</p>

    <p style="font-family: &#39;Times New Roman&#39;; font-size: medium; margin: 0px;">Ralf<span>&#160;</span></p>

    <p style="margin: 0px;"><span>&#160;</span></p>

    <p style="margin: 0px;"></p>

    <div style="margin: 5px 0px 5px 0px;">
      <br />
       michael scott &lt;jigenbakuda@yahoo.com&gt; hat am 20. Mai 2011 um 19:43 geschrieben:<br />
      <br />

      <blockquote type="cite" style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;">
        <div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;">
          Okay, my title might be undescriptive, let me try to explain it better. I want to take a script I&#39;ve written and make it usable by typing its name in the terminal. Perfect example is the python interpreter. You just type in the word python to the terminal and then the interpreter runs. I know other programs can do this as well (like mozilla or nautilus or rhythmbox).&#160; So how do I make my scripts executable from the terminal?<br />

          <div>
            &#160;
          </div>----<br />
           What is it about you... that intrigues me so? 

          <div>
          </div>
        </div>
      </blockquote>
    </div>
  </body>
</html>