Skip to main content

You can also use 'less'less command like

  1. less file_name.logless file_name.log (log file will be opened and will show first page of the log file)
  2. press shiftshift + f f (to act same as like tail -f)
  3. In case if you need to search for any keyword in log file. press ctrlctrl + cc to exit the tail mode and search for the keyword as //keyword and ??keyword.

You can also use 'less' command like

  1. less file_name.log (log file will be opened and will show first page of the log file)
  2. press shift + f (to act same as like tail -f)
  3. In case if you need to search for any keyword in log file. press ctrl + c to exit the tail mode and search for the keyword as /keyword and ?keyword.

You can also use less command like

  1. less file_name.log (log file will be opened and will show first page of the log file)
  2. press shift + f (to act same as like tail -f)
  3. In case if you need to search for any keyword in log file. press ctrl + c to exit the tail mode and search for the keyword as /keyword and ?keyword.
Source Link

You can also use 'less' command like

  1. less file_name.log (log file will be opened and will show first page of the log file)
  2. press shift + f (to act same as like tail -f)
  3. In case if you need to search for any keyword in log file. press ctrl + c to exit the tail mode and search for the keyword as /keyword and ?keyword.