<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>excuting bash scripts in tcsh shell</title>
    <link>http://forum.geizhals.at/feed.jsp?id=905306</link>
    <description>Geizhals-Forum</description>
    <item>
      <title>Re(6): excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143192.html#8143192</link>
      <description>auf deine anregung hin hab ich jetzt was gefunden, das beschreibt wie tcsh das startup macht u. da wird gibts andere dateien die aufgerufen werden und jetzt &lt;i&gt;pfunziwunzifunztatatut&lt;/i&gt;s. das hat mich jetzt schon mal weitergebracht.&lt;br&gt;&lt;br&gt;&lt;a href="https://kb.iu.edu/d/abdy" rel="noopener" target="_blank"&gt;https:/&lt;wbr/&gt;/&lt;wbr/&gt;kb.iu.edu/&lt;wbr/&gt;d/&lt;wbr/&gt;abdy&lt;/a&gt; &lt;br&gt;&lt;br&gt;er führt das script jetzt aus, egal ob bash davor oder nicht, aber kenn nicht alle commands und schreibt beispielsweise &lt;br&gt;ifconfig: command not found&lt;br&gt;&lt;br&gt;vermutlich nimmt trotzdem immer die tcsh shell&amp;nbsp;&amp;nbsp;beim aufrufen des scripts, egal ob das script mit dem bash command gestertet wird, oder hat da jemand eine idee?&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 18:42:18 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143192.html#8143192</guid>
      <dc:creator>virus</dc:creator>
      <dc:date>2023-02-10T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re(5): excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143191.html#8143191</link>
      <description>hab gerade gesehen, dass die alias geschichte wohl eher davon rührt, dass ich das ganze zum testen auch ins .bashrc eingetragen habe.&lt;br&gt;&lt;br&gt;mhhh keine ahnung, ob tcsh /etc/profile überhaupt ausführt, aber sehr gute frage&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 18:31:06 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143191.html#8143191</guid>
      <dc:creator>virus</dc:creator>
      <dc:date>2023-02-10T18:31:06Z</dc:date>
    </item>
    <item>
      <title>Re(4): excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143186.html#8143186</link>
      <description>Wird /etc/profile von der tcsh überhaupt ausgeführt?&lt;br&gt;&lt;br&gt;Ist ja nicht üblich...&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 17:43:27 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143186.html#8143186</guid>
      <dc:creator>Lazy Jones</dc:creator>
      <dc:date>2023-02-10T17:43:27Z</dc:date>
    </item>
    <item>
      <title>Re(3): excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143184.html#8143184</link>
      <description>habe gerade gesehen, dass dieser eintrag in der /etc/profile quasi sowas wie ein alias bewirkt.&lt;br&gt;/usr/bin/bash /usr/bin/dynmotd_guests.sh&lt;br&gt;&lt;br&gt;wenn man bash nach dem login eingibt, wird das dynmotd script ausgeführt.&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 17:14:24 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143184.html#8143184</guid>
      <dc:creator>virus</dc:creator>
      <dc:date>2023-02-10T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re(2): excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143183.html#8143183</link>
      <description>Hi,&lt;br&gt;&lt;br&gt;hab gerade gesehen, dass ich den blog auf englisch geschrieben hat, sorry.&lt;br&gt;&lt;br&gt;der system hersteller empfiehlt das tcsh zu verwenden, da die proprietäre software diese shell benötigt (historisch gewachsen).&lt;br&gt;&lt;br&gt;bash befindet sich bei mir in /usr/bin/bash. ich hab jetzt im /etc/profile den absolute path eingegeben, /usr/bin/bash /usr/bin/dynmotd.sh&lt;br&gt;klappt aber leider auch nicht.&lt;br&gt;&lt;br&gt;das dynmotd bash shell script liest einfach parameter vom rechner aus und zeigts quasi als motd beim login an.&lt;br&gt;&lt;br&gt;es gibt leider auch andere scripts oder services die eine bash shell verlangen und bin gerade am checken, ob ich diese trotzdem verwenden kann, obwohl eben in der evn die tcsh konfiguriert wird.&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 17:12:17 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143183.html#8143183</guid>
      <dc:creator>virus</dc:creator>
      <dc:date>2023-02-10T17:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143179.html#8143179</link>
      <description>&lt;blockquote&gt;&lt;em&gt; When /etc/bash is used as a shell the shell script is executed during login&lt;br&gt;but not with tcsh, although i am executing the file with command "bash&lt;br&gt;/usr/bin/dynmotd.sh" (shebang is configured in the shell script).&lt;br&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;Is /etc/ in your $PATH at this point?&lt;br&gt;&lt;br&gt;Try using the full pathname of bash i.e. /etc/bash /usr/bin/dynmotd.sh (assuming bash is really in /etc/ ...).&lt;br&gt;&lt;br&gt;If your script is supposed to modify the environment too, it won't work. I'm assuming it just prints something (a MOTD) and exits.&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 16:39:34 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143179.html#8143179</guid>
      <dc:creator>Lazy Jones</dc:creator>
      <dc:date>2023-02-10T16:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143177.html#8143177</link>
      <description>Das Posting ist ein bisschen wirr... geht es darum, dass du Dinge, die in einem tcsh-Script (wtf, arbeitest du bei Raiffeisen?! :p) ausgefuehrt/gesetzt werden, im ENVIRONMENT einer bash-Shell-Instanz haben willst - oder geht es darum, dass du ein tcsh-Script automatisch ausgefuehrt haben willst (weil es gewisse Seiteneffekte hat, die du in diesem Fall brauchst/haben willst), wenn sich jemand interaktiv mit einer bash-Login-Shell am System anmeldet?&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 16:22:20 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143177.html#8143177</guid>
      <dc:creator>colo</dc:creator>
      <dc:date>2023-02-10T16:22:20Z</dc:date>
    </item>
    <item>
      <title>excuting bash scripts in tcsh shell</title>
      <link>http://forum.geizhals.at/t905306,8143159.html#8143159</link>
      <description>Hi,&lt;br&gt;&lt;br&gt;i have to use /etc/tcsh as an env variable on the linux system. despite this fact I'm having a bash-shell script for login which is excecuted in /etc/profile.&lt;br&gt;&lt;br&gt;When /etc/bash is used as a shell the shell script is executed during login but not with tcsh, although i am executing the file with command "bash /usr/bin/dynmotd.sh" (shebang is configured in the shell script).&lt;br&gt;&lt;br&gt;Do you've an idea how to solve this problem.&lt;br&gt;&lt;br&gt;Thx,&lt;br/&gt;</description>
      <pubDate>Fri, 10 Feb 2023 13:28:55 GMT</pubDate>
      <guid>http://forum.geizhals.at/t905306,8143159.html#8143159</guid>
      <dc:creator>virus</dc:creator>
      <dc:date>2023-02-10T13:28:55Z</dc:date>
    </item>
  </channel>
</rss>
