Keeping Command History across Multiple Sessions

Posted by Sander_Marechal on Nov 7, 2007 5:05 AM
By Linux Commando
Mail this story
Web version

The bash shell maintains a history of the commands you entered. You can re-execute a command by recalling it from the history, without having to re-type it. Life is simple if we operate on a single shell session at any given time. If you have 2 simultaneous sessions, you may be surprised that the history does not have the commands you expect.

Full Story

Printed at http://lxer.com/module/newswire/view/95169/index.html