set time in linux terminal code example Example 1: time in linux command date or timedatectl Example 2: linux time set date +%T -s 10:00:00