How I get node throw hash value

I want to know how to get ipfs node throw hash value
thank you

It really depends on what you want to do and what hash do you need.

The quickest answer would be to run -q when adding a file from the CLI:

ipfs add -q ./yourfile

this will add the file to the node and print only the hash to the stdout