gdaly at u.washington.edu
Tue Aug 22 20:29:07 PDT 2000
Great, thanks..... didnt see that.
just a note - it's squirrely on the positioning of the =' - you cant have
spaces there. :)
----- Original Message -----
From: Mike <mike at boobaz.net>
To: UW Linux Group <linux at u.washington.edu>
Sent: Tuesday, August 22, 2000 8:39 PM
Subject: Re: bash question
| This is a 'man bash' issue. Example:
| export PROMPT_COMMAND='export PS1="`date`%"'
| -=<(| mike at boobaz.net |)>=-
| On Tue, 22 Aug 2000, Greg Daly wrote:
| |hey all,
| |i was fooling around with my .bash_profile yesterday, and i wrote a
| |perl script that takes a random adjective and a random verb to make a
| |the problem is that bash sources that script at logon, and for that word
| |change, one needs to source the profile again.
| |so, i know this is a stupid program to do it with, but how would one get
| |bash to run a program at every prompt? if you wanted to do something
| |prompt (ie check the load on the system), what would be the way to tell
| |to run a program at every prompt?
More information about the Linux