title: How to manually start interactive ksh, and have it execute $HOME/.profile on startup?
body: <p>If I start ksh manually by typing</p>
  
  <pre><code>/usr/bin/ksh
  </code></pre>
  
  <p>in bash, then ksh starts in interactive mode. So far so good. But, since it isn't a login shell, it won't execute its $HOME/.profile, which I need it to do. I tried running</p>
  
  <pre><code>/usr/bin/ksh $HOME/.profile
  </code></pre>
  
  <p>but then it just executed .profile and exited back to bash, without going into interactive mode. I've tried using the -i flag to force ksh to go into interactive mode, but it doesn't seem to work when I also give it .profile to execute.</p>
  
  <p>I am using ksh93 on Raspian Linux.</p>