<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: export command is not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794777#M641541</link>
    <description>&lt;P&gt;&amp;gt;Usually, I use tcsh or sh shells.&lt;BR /&gt;&lt;BR /&gt;export works in sh/ksh, bash, etc&lt;BR /&gt;&lt;BR /&gt;&amp;gt;1. How can I know what shell I'm running?&lt;BR /&gt;&lt;BR /&gt;Typically you would just know. :-)&lt;BR /&gt;You can "echo $SHELL" but that's your login shell and can be changed.&lt;BR /&gt;I've found that if you try to execute a bogus command, the name of the shell is mentioned.&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/shell/m-p/4754063#M29768" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/shell/m-p/4754063#M29768&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. what are the benefits of ksh over others tcsh or sh in my case?&lt;BR /&gt;&lt;BR /&gt;There is something terribly wrong if you mention tcsh and sh together, since they don't get along. :-)&lt;BR /&gt;&lt;A href="http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/" target="_blank"&gt;http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/Which-Shell-is-best/m-p/4783404#M30508" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/Which-Shell-is-best/m-p/4783404#M30508&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/KSH-to-CSH-conversion-not-working/m-p/5274603#M41617" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/KSH-to-CSH-conversion-not-working/m-p/5274603#M41617&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Basically sh/ksh are nearly identical and are real shell.&lt;BR /&gt;tcsh is derived from the scummy C shell.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2011 14:15:15 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-08-02T14:15:15Z</dc:date>
    <item>
      <title>export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794769#M641533</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;On HP-UX b.11.11 (C-8000), I try to run export command i.e export TERM=vt100.&lt;BR /&gt;&lt;BR /&gt;Please advice,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
      <pubDate>Thu, 02 Jun 2011 11:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794769#M641533</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-06-02T11:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794770#M641534</link>
      <description>so whats not working then?&lt;BR /&gt;&lt;BR /&gt;if you set a TERM environment variable as you showed, it just sets it in the current shells environment - it won't actually change anything - what are you expecting to happen? Maybe change the settings for the terminal? If so you should run the "tset" command after setting the environment variable...&lt;BR /&gt;&lt;BR /&gt;export TERM=vt100&lt;BR /&gt;tset&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 02 Jun 2011 11:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794770#M641534</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2011-06-02T11:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794771#M641535</link>
      <description>The export command should be working 11.11. Please post the error message here</description>
      <pubDate>Thu, 02 Jun 2011 11:46:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794771#M641535</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2011-06-02T11:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794772#M641536</link>
      <description>even if I try: man export it says " no manual entry for export "</description>
      <pubDate>Thu, 02 Jun 2011 11:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794772#M641536</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-06-02T11:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794773#M641537</link>
      <description>error message:&lt;BR /&gt;&lt;BR /&gt;export: Command not found</description>
      <pubDate>Thu, 02 Jun 2011 11:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794773#M641537</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-06-02T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794774#M641538</link>
      <description>export is not actually a command, it is a shell built-in for the sh and ksh shells...&lt;BR /&gt;&lt;BR /&gt;I gues you are using another shell such as csh or tcsh which doesn't have export... why you would want to use these terrible shells I don't know, but the equivalent to "export TERM=vt100" in csh would be "setenv TERM vt100"&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 02 Jun 2011 12:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794774#M641538</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2011-06-02T12:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794775#M641539</link>
      <description>&amp;gt;even if I try: man export it says "no manual entry for export"&lt;BR /&gt;&lt;BR /&gt;As Duncan said, try "man ksh" or "man sh-posix" and look for "export".</description>
      <pubDate>Fri, 03 Jun 2011 17:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794775#M641539</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-06-03T17:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794776#M641540</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Usually, I uses tcsh or sh shells.&lt;BR /&gt;&lt;BR /&gt;1. How can I know what shell Im running with (I mean, is there any command that displays the shell)?&lt;BR /&gt;&lt;BR /&gt;2. what are the benefits of ksh over others tcsh or sh in my case?&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
      <pubDate>Sun, 05 Jun 2011 10:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794776#M641540</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-06-05T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794777#M641541</link>
      <description>&lt;P&gt;&amp;gt;Usually, I use tcsh or sh shells.&lt;BR /&gt;&lt;BR /&gt;export works in sh/ksh, bash, etc&lt;BR /&gt;&lt;BR /&gt;&amp;gt;1. How can I know what shell I'm running?&lt;BR /&gt;&lt;BR /&gt;Typically you would just know. :-)&lt;BR /&gt;You can "echo $SHELL" but that's your login shell and can be changed.&lt;BR /&gt;I've found that if you try to execute a bogus command, the name of the shell is mentioned.&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/shell/m-p/4754063#M29768" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/shell/m-p/4754063#M29768&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. what are the benefits of ksh over others tcsh or sh in my case?&lt;BR /&gt;&lt;BR /&gt;There is something terribly wrong if you mention tcsh and sh together, since they don't get along. :-)&lt;BR /&gt;&lt;A href="http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/" target="_blank"&gt;http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/Which-Shell-is-best/m-p/4783404#M30508" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/Which-Shell-is-best/m-p/4783404#M30508&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/KSH-to-CSH-conversion-not-working/m-p/5274603#M41617" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/KSH-to-CSH-conversion-not-working/m-p/5274603#M41617&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Basically sh/ksh are nearly identical and are real shell.&lt;BR /&gt;tcsh is derived from the scummy C shell.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794777#M641541</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-02T14:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794778#M641542</link>
      <description>Many thanks, I followed the links and informed myself (some with mine old thread :))&lt;BR /&gt;&lt;BR /&gt;BTW, I probably type tcsh to get a comfortable env, so I couldn't run export.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;&lt;BR /&gt;Yaron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2011 06:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794778#M641542</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-06-06T06:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: export command is not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794779#M641543</link>
      <description>&lt;!--!*#--&gt;&amp;gt; 1. How can I know what shell Im running&lt;BR /&gt;&amp;gt; with (I mean, is there any command that&lt;BR /&gt;&amp;gt; displays the shell)?&lt;BR /&gt;&lt;BR /&gt;I had intended to suggest this a while ago,&lt;BR /&gt;but got distracted.&lt;BR /&gt;&lt;BR /&gt;      echo $0&lt;BR /&gt;&lt;BR /&gt;dy # echo $0&lt;BR /&gt;bash&lt;BR /&gt;dy # /bin/sh&lt;BR /&gt;dy # echo $0&lt;BR /&gt;/bin/sh&lt;BR /&gt;dy # sh&lt;BR /&gt;dy # echo $0&lt;BR /&gt;sh&lt;BR /&gt;&lt;BR /&gt;Apparently not good in every case, though:&lt;BR /&gt;&lt;BR /&gt;dy # /bin/csh&lt;BR /&gt;# echo $0&lt;BR /&gt;No file for $0.</description>
      <pubDate>Wed, 15 Jun 2011 21:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-command-is-not-working/m-p/4794779#M641543</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-06-15T21:11:00Z</dc:date>
    </item>
  </channel>
</rss>

