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"
