How to check size for hash file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 16
- Joined: Fri Oct 27, 2006 6:27 am
How to check size for hash file
I want to check the size of hash file created, if it is of 32 or 64 bit? need any command or any properties to look into?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 16
- Joined: Fri Oct 27, 2006 6:27 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 16
- Joined: Fri Oct 27, 2006 6:27 am
Hi all,Das wrote:Execute the below command in Unix prompt
od -x /DirPath/HshFileName/DATA.30 | head -1
Will give you the following result
0000000 acef 010c 0000 001e 0000 0000 0000 0001
The bold word shows it is a 32 bit hashed file .
If it is 64 bit hashed file it will show 020c, insted of 010c
Sorry to ask a question in this after a very long time. I just wanted know. that's why i'm asking.
When i'm executing the command mentioned above in my Unix box, it gave me an error
"od: invalid option -- /" .
But when i tried without -x in the command its giving me the output but not in the format as stated above.
Kindly advice.
Your time would be highly appreciated.
Thanks,
Veera...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: