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

From KDE UserBase Wiki
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 1: Line 1:
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>~/local/bin</tt>, another way of writing <tt>/home/you/local/bin</tt> - again you can use <code>echo $HOME</code> to see how that works). Finally you see the $PATH variable itself - that's because you want to add your new path into it, not replace the existing path.
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}}

Revision as of 04:50, 14 June 2018

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}}

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 $HOME/local/bin). 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