[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Welcome to emergency mode!



On Mon, Feb 08, 2016 at 05:56:33PM -0600, Dutch Ingraham wrote:
> > >
> > >As root journalctl produces a long list, tail journalctl produces
> > >
> > >"tail: cannot open ‘journalctl’ for reading: No such file or directory".
> > >
> > >Now I'm really confused. Any explanation?
> > >
> > 
> >   I belive tail is designed for use with text files...which systemd journal
> > isn't.
> > 
> > 
> journalctl has a plethora of options listed in it's man page for
> limiting the journal's output.

Saw that.

> 
> Regardless, you can pipe journalctl output through tail, e.g.:
> 
> <journalctl | tail -n 20>

I get the same result (as root) with "tail journalctl"

-- 
Bob Holtzman
A man is a man who will fight with a sword or
conquer Mt. Everest in snow. But the bravest of all
owns a '34 Ford and tries for six thousand in low.


Reply to: