<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    I know different shells source different files when started, I'm
    curious to know which shell you are using.<br>
    (konsole, gnome-terminal, ...)<br>
    <br>
    If it works after sourcing your .profile then I would bet you need
    to have a .bashrc file with a line that says source ~/.profile.<br>
    <br>
    Like Kitepilot, I too am curious to know what<br>
    <br>
    which foo.sh <br>
    or<br>
    whereis foo.sh<br>
    <br>
    tells us.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/27/2014 8:24 AM, Dazed_75 wrote:<br>
    </div>
    <blockquote
cite="mid:CABvP5OLUBHhagqwvr6ccpX0S3gEBLbnezeB8NuOc1NCgH=crBA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Prior to mu sourcing .profile, those commands showed
          nothing.  Once I ran . .profile, I get what I expected:<br>
          <br>
          larry@hammerhead:~$ which killsol.sh<br>
          /home/larry/bin/killsol.sh<br>
          larry@hammerhead:~$ type killsol.sh<br>
          killsol.sh is /home/larry/bin/killsol.sh<br>
          larry@hammerhead:~$ <br>
          <br>
        </div>
        so the question really comes down to why is .profile not being
        run on login (I already said I do not have the two files which
        might prevent it).  This is Ubuntu 12.04 BTW.<br>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Feb 27, 2014 at 6:50 AM, <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:kitepilot@kitepilot.com" target="_blank">kitepilot@kitepilot.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Pls show
            the output of:<br>
            which foo.sh<br>
            or<br>
            type foo.sh<br>
            ET <br>
            <div class="HOEnZb">
              <div class="h5">
                <br>
                <br>
                Dazed_75 writes: <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I thought $PATH contained the series of paths searched
                  to find an<br>
                  executable file by the name specified on the command
                  line.  Specifically if<br>
                  my $ENV contains a $PATH which reads: <br>
                  /home/larry/bin:<more paths> <br>
                  that an executable file like foo.sh found in
                  /home/larry/bin/ could be run<br>
                  by simply typing foo.sh on the command line.  What am
                  I doing wrong as it<br>
                  does not work though it does if I type ./bin/foo.sh
                  while in /home/larry/? <br>
                  -- <br>
                  Dazed_75 a.k.a. Larry <br>
                  Please protect my address like I protect yours. When
                  sending messages to<br>
                  multiple recipients, use the BCC: (Blind carbon copy).
                  Remove addresses<br>
                  from a forwarded message body before clicking Send.<br>
                </blockquote>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                ---------------------------------------------------<br>
                PLUG-discuss mailing list - <a moz-do-not-send="true"
                  href="mailto:PLUG-discuss@lists.phxlinux.org"
                  target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
                To subscribe, unsubscribe, or to change your mail
                settings:<br>
                <a moz-do-not-send="true"
                  href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                  target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Dazed_75 a.k.a. Larry<br>
        <br>
        Please protect my address like I protect yours. When sending
        messages to multiple recipients, use the BCC: (Blind carbon
        copy). Remove addresses from a forwarded message body before
        clicking Send. <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
    </blockquote>
  </body>
</html>