[X4U] terminal window

Kirk McElhearn kirklists at wanadoo.fr
Mon Jul 12 00:03:23 PDT 2004


On 7/12/04 7:40 AM, "Richard" <cms01 at tampabay.rr.com> wrote:

> Here a tuff one for you Unix Guru's
> 
> Using the terminal window, after 3 hours,
> I notice I can use the up arrow to display the last, or previous
> information..or command.
> 
> Q. Where or what file is that information keep in?

The shell stores it in a history buffer, and, when you end your session,
writes it to a history file. Do ls -a in your home folder and you'll see
either .bash_history or .history (for tcsh).
 
 
Kirk
 
            My Latest Book: Mastering Mac OS X: Panther Edition
                  http://www.mcelhearn.com/panther.html
  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  . . . . . . .  kirk at mcelhearn.com | http://www.mcelhearn.com  . . . . . .
  . .  Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France  . .





More information about the X4U mailing list