Alfredo Finelli schrieb:
The 'date' command runs in a child process for which the bash shell has
to determine the environment. Parameter assignments are inherited in
that environment (i.e. the 'date' command sees them) in two cases:
either when the variable is not only declared but also expor
On Friday 06 June 2008 12:59, Malte Forkel wrote:
> I recently came across the following example for switching time
> zones:
>
> $ date
> Fr 6. Jun 12:49:30 CEST 2008
> $ TZ=UTC date
> Fr 6. Jun 10:49:35 UTC 2008
>
> Could someone please explain to me the general shell syntax involved
> here? I did
I recently came across the following example for switching time zones:
$ date
Fr 6. Jun 12:49:30 CEST 2008
$ TZ=UTC date
Fr 6. Jun 10:49:35 UTC 2008
Could someone please explain to me the general shell syntax involved here? I
did not know that I could put an assignment and a command on one line
3 matches
Mail list logo