- 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" dateTZ=":Atlantic/Bermuda" dateTZ=":Asia/Calcutta" dateTZ=":Europe/Amsterdam" date