Re: What to do if I have to see only history of vi's

On Tue, 01 Apr 2008 02:00:29 -0700, parag_paul [at] hotmail.com wrote:

>> > Suppose I want to list only those commands in history which has vi ?
....
>> fc -nl -5000 | grep 'vi'
....
> I am using csh. Thanks for the suggestion in ksh

history | grep "vi"
Hans-Peter Sauer [ Di, 01 April 2008 11:08 ] [ ID #1932387 ]
Linux » comp.unix.shell » Re: What to do if I have to see only history of vi's

Vorheriges Thema: Re: interpretation issue with "nohup command &"
Nächstes Thema: Re: What to do if I have to see only history of vi's