current time on ubuntu code example Example: get time ubuntu # Simply type 'date' into your shell date # Output: Thu Mar 4 09:53:07 MST 2021