These are my test files: std-test.sh: process.sh: std-test.sh creates twenty lines containing their line number, and process.sh is able to read another commands output when piped to it, while it saves to stderr when err is passed to it as argument, and to stdout when out is passed. The command I use to test the whole thing is: ./std-test.sh 2>
Tag: unix-timestamp
How to convert timestamp from Hexadecimal format to EPOCH timestamp?
I am looking for a Linux command to convert hexadecimal time format to Linux timestamp. I have tried this command: But it seems to be wrong, the epoch output of 0xd6979880 should be 1391270400. Please correct me if I am wrong. Answer From your description (expecting 1391270400 instead of 3600259200), at appears that your hex dates are seconds since 1900-01-01