PROMPT_COMMAND
Its an interesting bash variable..bash whenever it finishes a command or null command would try to run this..
I guess it will be more fun to set it to "clear" :).
$ PROMPT_COMMAND=date
Mon Jul 11 18:46:42 IST 2005
$
Mon Jul 11 18:46:42 IST 2005
$
Mon Jul 11 18:46:43 IST 2005
$
Mon Jul 11 18:46:43 IST 2005
$ uname
Linux
Mon Jul 11 18:47:23 IST 2005
I guess it will be more fun to set it to "clear" :).
0 Comments:
Post a Comment
<< Home