How to do it...

  1. We are going to write a shell script to ascertain the time in different time zones. To do this, we are going to use the date command. Create a timezones.sh shell script and write the following code in it:
TZ=":Antarctica/Casey" date
TZ=":Atlantic/Bermuda" date
TZ=":Asia/Calcutta" date
TZ=":Europe/Amsterdam" date

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.114.221