title: How to redirect output back to the display for a single command
body: <p>In a shell script i have</p>
  
  <pre><code>LOG=/my.log
  exec 1&gt;&gt;$LOG
  exec 2&gt;&amp;1
  </code></pre>
  
  <p>which redirects the output in shell script. Now the problem is in the following</p>
  
  <pre><code>LOG=/etc/security/aixpert/log/aixpert.log
  exec 1&gt;&gt;$LOG
  exec 2&gt;&amp;1
  
  #some codes
  
  print "I want this on cmd output not in log"
  
  #I want rest of the output redirected to log as usual
  </code></pre>
  
  <p>How can i do this??</p>