[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Nope. Set the write to be an append.

eg:

echo $foo >> $log

will add $foo to the end of $log
> 
> Jonathan
> 
> On Tue, 2004-03-23 at 14:04, Yu, Jerry wrote:
> > hate to clarify myself after 1 second. By 'script call' I meant the 'script'
> > command which logs a shell session.
> > 
> > -----Original Message-----
&gt; &gt; From: Yu, Jerry [<a  rel="nofollow" href="mailto:Jerry.Yu";>mailto:Jerry.Yu</a> at voicecom.com]
&gt; &gt; Sent: Tuesday, March 23, 2004 2:02 PM
&gt; &gt; To: 'Atlanta Linux Enthusiasts'
&gt; &gt; Subject: RE: [ale] Script at Login Question
&gt; &gt; 
&gt; &gt; 
&gt; &gt; would a script call from .bash_profile or .bashrc work? Of course, make sure
&gt; &gt; they can't be modified by the user and no other shells is available and no
&gt; &gt; way to invoke a shell without sourcing your .bash_profile/.bashrc.
&gt; &gt; 
&gt; &gt; -----Original Message-----
&gt; &gt; From: Jonathan Glass [<a  rel="nofollow" href="mailto:jonathan.glass";>mailto:jonathan.glass</a> at ibb.gatech.edu]
&gt; &gt; Sent: Tuesday, March 23, 2004 1:59 PM
&gt; &gt; To: ale at ale.org
&gt; &gt; Subject: [ale] Script at Login Question
&gt; &gt; 
&gt; &gt; 
&gt; &gt; I'm just thinking out loud again.  Anyone configured script to run
&gt; &gt; whenever someone logs in?  I'm thinking it would be very beneficial to
&gt; &gt; log user sessions on a few choice machines.  Is there a better way to do
&gt; &gt; this?  Again, just thinking out loud.  I haven't hit Google yet, so
&gt; &gt; pardon my ignorance.
&gt; &gt; 
&gt; &gt; Thanks!
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO &amp; Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
<a  rel="nofollow" href="http://www.localnetsolutions.com";>http://www.localnetsolutions.com</a>

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
&lt;jkinney at localnetsolutions.com&gt;
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00825" href="msg00825.html">[ale] Script at Login Question</a></strong>
<ul><li><em>From:</em> Jerry.Yu at Voicecom.com (Yu, Jerry)</li></ul></li>
<li><strong><a name="00826" href="msg00826.html">[ale] Script at Login Question</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00826.html">[ale] Script at Login Question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00828.html">[ale] Teletubbie background?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00826.html">[ale] Script at Login Question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00830.html">[ale] Can you point me in a good direction</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00827"><strong>Date</strong></a></li>
<li><a href="threads.html#00827"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>