Please forgive me if I am not posting this is the correct forum. I am extremely new at this, so please bare with me as I try to explain my problem. At work we are using Cisco Voip phones and when setting them up we first create a config file in vi editor. I first use a program called putty.
My favorite editor is vim, but some others prefer nano, or emacs, nano reminds me WordStar, anyway.
Cron job default editor which is invoqued by the command crontab -e is vi, while I prefer vim, and you may prefer nano, you can use this command.
env EDITOR=nano crontab -e
or as I usually do:
env EDITOR=vim crontab -e
Please advise me that I have to search some thing in log , I have reached to that Location through putty and I have opened that log file through putty with VI editor ..
tail -f abc.log
and I see the logs but please advise me the commands..If I need to search something in logs what Vi commands I need ..lets say in log I need to search a word 'abcd'