Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading binary file

Status
Not open for further replies.

paulywog

IS-IT--Management
Jun 26, 2001
24
0
0
US
AIX newbie again, is there a way to open the wtmp file to read it. cat the file isn't good.

Thanks.
 
Use the command "last -f /full/path/to/wtmp"

For example: last -f /etc/wtmp

Bill.
 
This will work for you also:

/usr/sbin/acct/fwtmp < /var/adm/wtmp > filename_to_cat

Regards,
Chuck

chuck.spilman@nokia.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top