|
Prev: is it possible to stop after find command finds one result
Next: interpretation issue with "nohup command &"
From: parag_paul on 1 Apr 2008 05:00 On Mar 25, 9:35 pm, stan <smo...(a)exis.net> wrote: > parag_p...(a)hotmail.com wrote: > > Suppose I want to list only those commands in history which has vi ? > > Does > > fc -nl -5000 | grep 'vi' > > produce I am using csh. Thanks for the suggestion in ksh
From: Greg Russell on 1 Apr 2008 05:08
On Tue, 01 Apr 2008 02:00:29 -0700, parag_paul(a)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" |