निर्यात पथ

कोड उदाहरण

11
0

लिनक्स पथ में जोड़ें

export PATH=$PATH:/place/with/the/file
0
0

पथ में पथ में जोड़ें


FOR MAC:

 1º - Open Finder
 2º - Choose Go > Go to folder
 3º - Go to ~/Library/
 4º - Look for hidden files: Cmd + Shift + . (dot) 
 5º - Depending on the shell you use, the file can be .bash_profile, or .bashrc, or .zshrc, ...
 6º - Open that file in the text editor
 7º - Add the new path like: export PATH="$PATH:"User/new_path/..."
 8º - Test in your command line if it worked: echo $PATH
 
0
0

पथ कैसे निर्यात करें

export AMBERHOME=/programs/amber18  # set of folders
export PATH=$AMBERHOME:$PATH  #define the path

#better to add these in bashrc file
0
0

पथ एनवी चर में पहला पथ प्राप्त करें

echo ${PATH%%:*}
-1
0

लिनक्स में पथ के लिए एक निर्देशिका कैसे जोड़ें

nano ~/.bashrc

इसी तरह के पन्ने

उदाहरणों के साथ समान पृष्ठ

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................