View previous topic :: View next topic |
Author |
Message |
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Sat May 28, 2005 8:56 pm Post subject: [Solved] tail command |
|
|
Hi. I want to see where a usb card has been placed. To do this, I wanted to use the "tail -f /var/log/messages" command. The problem is that I receive this message:
Code: |
tail: cannot open `/var/log/messages' for reading: No such file or directory
tail: no files remaining
|
In fact the file messages doesn't exist. Maybe cause linux doesn't create it? How can I create it?
Thanks.
Last edited by Luc484 on Sat May 28, 2005 9:16 pm; edited 1 time in total |
|
Back to top |
|
|
gwolf Guru
Joined: 05 May 2005 Posts: 374 Location: Estonia
|
Posted: Sat May 28, 2005 9:01 pm Post subject: |
|
|
I think you need to emerge syslog-ng. |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Sat May 28, 2005 9:16 pm Post subject: |
|
|
Yes, great. That was the problem. Thanks. |
|
Back to top |
|
|
|