linux command get current time code example Example 1: time in linux command date or timedatectl Example 2: linux time now command date #Sun Feb 7 17:15:03 UTC 2021