/etc/environment, variables aren't expanded

Thilo Six T.Six at gmx.de
Sun May 18 16:56:49 UTC 2008

TomasN wrote the following on 16.05.2008 16:22

> Hi. Why the environment variables in /etc/environment aren't expaned?
> JAVA_HOME="/opt/jdk1.6.0_06"
> PATH="$JDK_HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
> ... in /etc/profile each variable in quotes is expanded.

since 'xorg (1:7.3+8ubuntu2) hardy' there is also:

$ zless -p "Add support for" /usr/share/doc/x11-common/changelog.gz

which might does what you are looking for.

bye Thilo

key: 0x4A411E09

More information about the ubuntu-users mailing list