Originally Posted by
wardenburg
First off thanks for the reply- the $ are indeed there (I reckon these were placed there following this assp guide I followed, I dont consider myself an expert linux user to do these changes without a guide)
I attempted to remove them resulting in;
Code:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
linux_ip = 192.168.100.38
linux_hostname = "vmwbpap03"
domain = "intern.domainname.nl"
ad_ip = 192.168.1.2
ad_hostname = "Hostname AD"
I'm attempting to install sqlite3 with the 'apt-get install sqlite3' command. resulting in the following error:
Code:
Preconfiguring packages ...
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 2: /etc/environment: linux_ip: not found
Noting the linux_ip error I tried the following environment:
man 5 environment says "The file must consist of simple NAME=VALUE pairs on separate lines." I don't think you can have the spaces before and after the =, just as with variable assignment in the shell. Sorry I missed this originally.
In a shell:
Code:
linux_ip=192.168.100.38
echo $linux_ip
192.168.100.38
But...
Code:
linux_ip = 192.168.100.38
bash: linux_ip: command not found
Bookmarks