"Dr.K.S.Sangunni" proclaimed:
> I am SuSe 7.1 and trying to read some of the log that is in /var/log. I
> can read lastlog or wtmp using any of the editors ( pico, vi). I can see
> one line of funny characters. Is there any other method to check the
> lastlog in my system
lastlog, wtmp etc. are not textual log files (like /var/log/mail.log
etc.).
thaths@daemon:[8] ~ $ sudo file /var/log/wtmp
/var/log/wtmp: data
thaths@daemon:[9] ~ $ sudo file /var/log/lastlog
/var/log/lastlog: ISO-8859 text, with no line terminators
thaths@daemon:[10] ~ $ sudo file /var/log/mail.log
/var/log/mail.log: ASCII text
You can use 'last -f' to check out /var/log/wtmp. You can use the
'lastlog' command to check out the lastlog file.
thaths@daemon:[11] ~ $ apropos lastlog
lastlog (8) - examine lastlog file
Thaths
--
thaths at aunet dot org http://www.aunet.org/thaths/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help