13 Apr
2009
13 Apr
'09
23:42
On Tuesday 14 April 2009 01:34:41 Rajko M. wrote:
Why is difference in output of command echo?
Because $HOME gets evaluated before sudo is called. The call is translated by bash to sudo echo /home/rm Try sudo bash -c 'echo $HOME' The apostrophes prevent bash from translating it before passing it on to sudo Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org