Jump to content

Translations:Session Environment Variables/5/da: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
Importing a new version from external source
(No difference)

Revision as of 07:11, 8 August 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Session Environment Variables)
Let's explore that.  The command ''export'' tells the system that this is something that should be saved and used when looking for files. Next you add the full name of the directory you want to add (in this case <tt>$HOME/.local/bin</tt>). Finally you see the $PATH variable itself - that's because you want to add your new path into it, not replace the existing path.
{{Warning|If you want to point your home don't use '~', use $HOME instead}}

Lad os se, hvad der sker her. Kommandoen export fortæller systemet, at dette er noget, som skal gemmes og bruges, når der søges efter filer. Herefter kommer den fulde sti til den mappe, som du ønsker at tilføje (i dette tilfælde ~/local/bin, hvilket er en anden måde at skrive /home/you/local/bin - nu kan du igen bruge echo $HOME til at se, hvordan det virker). Endelig ser du selve variablen, $PATH - det er fordi du føjer din nye sti til det eksisterende indhold i stedet for at overskrive det.