On Thu, May 14, 2009 at 9:52 AM, Don Delp <[email protected]> wrote:
> > On Wed, May 13, 2009 at 11:01 AM, Timothy Ball <[email protected]> wrote: > > > > On Wed, May 13, 2009 at 09:53:42AM -0400, Andrew Farnsworth wrote: > >> Just thought I would post this one... > >> > >> /bin/bash ~/.bash_history > >> > > > > bwahahahahahahahahaaaaaa > > > > --timball > > > That's awesome. > Now you have me tempted, just to watch it roll. I guess the same > could be said of: > . ~/.bash_history > > Don, By default, .bash_history is not set executable nor does it have the necessary #! line at the beginning of it, therefore this won't work. My method of calling bash and passing it your .bash_history file as a parameter means it will try to execute it as a shell script which will work and cause issues. Now if it does not update until you log out, then run "/bin/bash ~/.bash_history", then logout, then login again and run it again... now you are in an infinite loop. Andy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en -~----------~----~----~----~------~----~------~--~---
