1

I recently saw someone on a Unix system run the command

cmdtool <some_log_file.log>

and the terminal showed a logging window that live-updated as text was entered into the log file. (I'm probably missing some arguments there.)

Is there a Mac OS equivalent to get this behavior?

See cmdtool on Ubuntu man pages.

  • this seems to be specific to Sun/Solaris boxes. – jmh Aug 9 '17 at 1:41
2

You can use the tail command to see live output of a textual log file:

tail -f <some_log_file.log

tail does not open a new Terminal.app window, but this could be achieved with AppleScript or Automator.

  • 1
    Clarified my question - this is exactly the command I was looking for, no need to "pop up" a new window. Thanks! – Demis Aug 10 '17 at 18:54
1

If you want to use an application, Console will do this. It's not restricted to just the log files it knows about, you can open any file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .