Hi,
da ich ein Debian Neuling bin eine kleine Anfängerfrage:
Ich möchte die Pathvariablen gerne wieder reseten. Alle drei Monate muss ich ein Programm updaten. Nach dem Path Variablen export haben sich nun einige Zeilen angesammelt:
Bsp:
Path=/var/local/Verison1;/var/local/Version2 ,etc....
Ich möchte nur den Link /var/local/Version1 sowie die typischen Debian Path Links in meiner Environment angezeigt haben.
Wie geht das ?
Vielen Dank
PATH Variablen editieren
Re: PATH Variablen editieren
Code: Alles auswählen
#!/bin/sh
pathbak="$PATH"
export PATH="/usr/local/foo/bin:$PATH"
update-foo
PATH="$pathbak"
Willkommen im Forum!
Gruß Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier