- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to view Binary file in HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 04:18 AM
тАО08-22-2005 04:18 AM
Can anyone answer this on the forum.I jus dont happen to remeber it.
Thx
Vaibhav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 04:20 AM
тАО08-22-2005 04:20 AM
Re: How to view Binary file in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 04:26 AM
тАО08-22-2005 04:26 AM
Re: How to view Binary file in HPUX
is my way of doing it.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 04:39 AM
тАО08-22-2005 04:39 AM
Re: How to view Binary file in HPUX
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 05:07 AM
тАО08-22-2005 05:07 AM
Re: How to view Binary file in HPUX
You can use strings command , to view an object , data or other binary files.
ex: # strings /etc/lvmtab
You can use od also , but its complex one ,
To display a file in octal, a page at a time, :
# od a.out | pg
-------------------
The xd command also allows you to dump a binary to text,
----------------------------
Cheers ,
RajD.
---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 05:50 AM
тАО08-22-2005 05:50 AM
Re: How to view Binary file in HPUX
The most useful option set is: xd -xc which shows both the hex numbers as well as the equivalent ASCII displayable characters. Consider these 3 listings of a file with ABC123xyz:
# od xx
0000000 040502 041461 031063 074171 075012
0000012
# xd xx
0000000 4142 4331 3233 7879 7a0a
000000a
# xd -xc xx
0000000 4142 4331 3233 7879 7a0a
A B C 1 2 3 x y z \n
000000a
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 08:06 AM
тАО08-22-2005 08:06 AM
Re: How to view Binary file in HPUX
cat -v
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 08:14 PM
тАО08-22-2005 08:14 PM
Re: How to view Binary file in HPUX
#strings
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 08:35 PM
тАО08-22-2005 08:35 PM
Re: How to view Binary file in HPUX
Detect file type as,
file
If it is not elf format then,
# odump -all ./
If it is,
# elfdump -cLrs ./
You can also use strings or nm or chatr.
hth.