newbee
newbee

Reputation: 46

shell: set variables just before command

HADOOP_ROOT_LOGGER=DEBUG,console hadoop fs -text /foo/bar

This is a sample shell command. What's the exact meaning of the shell grammar (set variable just before command)?

Upvotes: 0

Views: 86

Answers (1)

Peder Klingenberg
Peder Klingenberg

Reputation: 41095

It sets the value of that variable in the environment of the command you are running, without permanently affecting the environment of your shell.

Upvotes: 1

Related Questions