Adicionando um diretório à variável PATH

From Basef
Revision as of 23:10, 9 October 2016 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adicionar ao arquivo ~/.bashrc o seguinte:

export PATH="/caminho/para/o/diretorio:$PATH"

Executar o comando source:

source ~/.bashrc