Quick hint: Converting from Epoch to Localtime using Unix Date

Quick hint on unix:


$ date -u "+%c" -d @1234567890
Fri 13 Feb 2009 11:31:30 PM UTC

cf:   Convert timestamp to date in Bash

Advertisements

2 Comments on “Quick hint: Converting from Epoch to Localtime using Unix Date”

  1. zuber says:

    Awesome tip! Thanks!

  2. Doug Lee says:

    You locate the /hbase-*/conf/hbase-env.sh file, then search the ‘HBASE_SSH_OPTS’.

    edit the following content:
    export HBASE_SSH_OPTS=”-o Port=2323″

    2323 is your ssh port


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s