Ask Your Question

Where is /var/log/messages located in F22 Workstation? [closed]

asked 2015-08-14 12:59:22 -0500

xmetax gravatar image

updated 2015-08-14 21:39:30 -0500

mether gravatar image


I am currently doing a training exercise that instructs me to view the output in:


after connecting a USB drive. However, when running:

tail -f /var/log/messages

I get:

tail: cannot open ‘/var/log/messages’ for reading: No such file or directory tail: no files remaining

Is this file located elsewhere on F22 Workstation? Thanks for the help


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by xmetax
close date 2015-08-19 14:08:34.418906

2 Answers

Sort by » oldest newest most voted

answered 2015-08-14 13:11:07 -0500

paulojmlopes gravatar image

You can try this: journalctl -f

edit flag offensive delete link more


That did it. Thanks so much!

xmetax gravatar imagexmetax ( 2015-08-14 13:20:06 -0500 )edit

answered 2015-08-15 09:07:38 -0500

ptselios gravatar image

You need to be root in order to read /var/log/messages. Try sudo tail -30 /var/log/messages, after you plug in the USB.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-08-14 12:59:22 -0500

Seen: 4,028 times

Last updated: Aug 15 '15