|
From: Daniel J S. <dan...@ie...> - 2007-06-07 22:53:39
|
Ethan Merritt wrote:
> On Thursday 07 June 2007 15:25, Daniel J Sebald wrote:
>
>>gnome-term and xterm keep a full history:
>>
>> 998 su
>> 999 exit
>> 1000 ls
>> 1001 ls
>> 1002 ls
>> 1003 history
>
>
> Surely that history is maintained by the shell, not the terminal?
Good point. On my system it is
bash (gnome's default?)
----
1000 ls
1001 ls
1002 ls
1003 history
(note how history appears as the final entry)
ksh (Korn)
----------
1 ls
2 ls
3 ls
(history doesn't appear, but it shows in the following use of history)
1 ls
2 ls
3 ls
4 history
ash
---
$ history
history: permission denied
csh/tcsh
--------
1 17:49 ls
2 17:49 ls
3 17:49 ls
4 17:49 history
|