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
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
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
03-26-2002 05:32 AM
03-26-2002 05:32 AM
HEX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 05:37 AM
03-26-2002 05:37 AM
Re: HEX
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8b80dfe5920fd5118fef0090279cd0f9,00.html
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 05:38 AM
03-26-2002 05:38 AM
Re: HEX
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe6c56af52b04d5118fef0090279cd0f9,00.html
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 05:47 AM
03-26-2002 05:47 AM
Re: HEX
And just so you have options (and a calculator)...
If you have a workstation with CDE..take a look at the toolbar. On the right side the icon in the middle (looks like a box with a ruler & calculator in it) is the Applications Manager. Click on this and then on Desktop Apps and you'll see a calculator. It's what I often use to convert hex/dec.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 06:11 AM
03-26-2002 06:11 AM
Re: HEX
I think what you want is xd -s filename.
If this doesn't work try the man pages for xd an od.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 06:29 AM
03-26-2002 06:29 AM
Re: HEX
In the next both examples the 250 number is printed:
printf "%d\n" 0xfA
echo "ibase=16; "FA | bc
notices:
1. printf command needs the hex value preceeded by 0x prefix.
2. printf is not case sensitive.
3. Instead printf, bc is case sensitive for hex values. Look the uppercase letters in second example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 06:59 AM
03-26-2002 06:59 AM
Re: HEX
Windows PCs have a calculator that has a scientific view which lets you input a number in hex then click decimal to convert it.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 07:27 AM
03-26-2002 07:27 AM
Re: HEX
Try this
To convert from decimal to hex (we are setting the output base 16, leaving input at 10):
$ bc -l
obase=16
256*1024*1024
10000000
255
FF
quit
To convert hex numbers to decimal (we are setting the input base to base 16, leaving the output base at 10)
$ bc -l
ibase=16
FF
255
40000000
1073741824
FFFF
65535
quit
Here is my orininal post when I had the same q.
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x6b743fd7f72ad611abd50090277a778c,00.html
Richard