title: How do I get the .profile file to work on Solaris machine?
body: <p>This has been frustrating me for two days and it seems like it should be a very simple thing.  I was just created an account on a Solaris machine.  Sun OS 5.10 I believe.  </p>
  
  <p>The default is Bourne shell which I don't want.  I did a <code>cat /etc/shells</code> which results in:</p>
  
  <pre><code>/bin/sh
  /sbin/sh
  /bin/ksh
  /usr/bin/ksh
  </code></pre>
  
  <p>Looks like Korn shell is all I can use.  </p>
  
  <p>I created a <code>.profile</code> file and wrote: </p>
  
  <pre><code>export SHELL=/usr/bin/ksh
  </code></pre>
  
  <p>Then I did a <code>env</code> and it looks like <code>/bin/sh</code> is still listed as my shell.  I logged off, logged back on and now I get:</p>
  
  <pre><code>-sh: SHELL=/usr/bin/ksh: is not an identifier
  </code></pre>
  
  <p>I've tried adding <code>#!/usr/bin/ksh</code> at the beginning of the <code>.profile</code>. That didn't work.  I've tried adding a semicolon at the end of the <code>export</code>.  That didn't work.  I've tried: <code>SHELL=/bin/ksh</code> and that didn't work either.  </p>
  
  <p>My end goal is to get this environment to a point where I can operate productively.  I'm used to BASH where I have tab-completions, up-arrow for history, etc and this Bourne shell doesn't have any of that and it frustrates me to no end.  </p>
  
  <p>I know this must be simple but all my Googling comes to no avail.  Can someone help me?</p>