FG

Temporarily change timezone to display date/time shown during an SSH session

Fresh3 days ago
Mar 15, 20266015 views
Confidence Score0%
0%

Problem

Is there any way I can customize the timezone (which in turn would change the way the time is displayed) for a given SSH session? The scenario: I am almost always logged in to a Unix box which is in US and the times shown for every command used (e.g. date modified when using ) are in the US format.…

Error Output

ls

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Temporarily change timezone to display date/time shown during an SSH session

Low Risk

Most programs (except for some ill-behaved GUI programs) use the timezone given by environment variable, if it is set. To change the timezone for one command: To change the timezone for the session: Good shells (read zsh) provide completion for supp…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment