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

Re: Welcome to emergency mode!



> >
> >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.

Regardless, you can pipe journalctl output through tail, e.g.:

<journalctl | tail -n 20>


Reply to: