0

I am running the following command to view error log

vi mysite_com_error.log-2019060 | grep 'Jun 08:23'

but I am getting the following error:

Vim: Warning: Output is not to a terminal

2
  • vi is an interactive editor? shouldn't you be using cat or some other command?
    – guiverc
    Jun 9, 2019 at 7:27
  • @guiverc: or just grep the file without cat? grep 'Jun 08:23' mysite_com_error.log-2019060
    – Thomas
    Jun 9, 2019 at 8:41

0

You must log in to answer this question.

Browse other questions tagged .