Sunday, September 27, 2020

messages file in color

 

On opening the /var/log/messages in vim , if  logs are not presented in color , then executing the below command to add color

set filetype=messages