View on GitHub

Computational Techniques for Life Sciences

Part of the TACC Institute Series, Immersive Training in Advanced Computation

1) Use the date command to print the Coordinated Universal Time (UTC time zone).

$ man date      # read the man page to figure out how to do it
$ date
$ date -u       # what is the difference?

2) Use the date command to just print the month.

$ date +%B

3) What does the cal command do? Show some different examples.

    # cal displays a calendar
$ cal -1
$ cal -3
$ cal -y

4) What does the seq command do? Show some different examples.

    # seq prints a sequence of numbers
$ seq 1 20
$ seq 1 2 20
$ seq -w 1 2 20

Return