How can I view log files in Linux and apply custom filters while viewing?

前端 未结 5 1012
慢半拍i
慢半拍i 2021-01-30 12:45

I need to read through some gigantic log files on a Linux system. There\'s a lot of clutter in the logs. At the moment I\'m doing something like this:

cat logf         


        
5条回答
  •  梦毁少年i
    2021-01-30 13:38

    see the man page of less. there are some options you can use to search for words for example. It has line editing mode as well.

提交回复
热议问题