Ask Your Question

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

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

xmetax gravatar image

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

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

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 -0600 )edit

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

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

Seen: 3,986 times

Last updated: Aug 15 '15