Linux local and common bin folders (environnement path) | Drupal 8

Linux local and common bin folders (environnement path)

Submitted by editor on Thu, 01/21/2021 - 11:16

Local bin folders
$HOME/.local/bin (~/.local/bin)
$HOME/bin (~/bin)

Add to path manually

PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH

 

User specific environment and startup programs

1. Edit and add to one of the following files
.bash_profile
.profile
.bashrc

PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH

To load a file manually the file .bashrc
. ~/.bashrc

 

Tags

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.