just a man |
05-11-2009 06:33 AM |
Veiwing log files
Hi all.
I'm trying to review log files, to see who previously accessed my server, and what commands were run. However when I try using nano, cat or vi to read /var/log/wtmp, just gobbledegook comes up.
I'm not actually expecting to find anything suspicious I just want to know how to do it, so I have tried to read this file on a Ubuntu machine as well as a Gentoo one, but the same problem happens for both, I can't read dmesg either. Are these files only available using a command or can I just veiw them as text files using nano for instance?
|