On Nov 8, 2016, at 2:49 AM, Tilman Schmidt <tschm...@cardtech.de> wrote: > On 02.11.2016 10:46, Indunil Jayasooriya wrote: >> >> pls try below command with less >> >> >> less /etc/amavisd.conf |grep -i sa_spam_subject_tag > > Argh. Useless use of less is even worse than useless use of cat. > Just do > > grep -i sa_spam_subject_tag /etc/amavisd.conf
It is much easier to change the grep terms if you use cat <file> | grep <terms> (up arrow, ^w, type new term) I have no idea why anyone would use less there though.