SHARE
TWEET

Untitled

a guest Oct 22nd, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1) Find your shell's profile script in your user folder. If you are not sure which shell you have, run echo $SHELL.
  2.  
  3. $ ls -a ~
  4. .  ..  .bash_logout  .bash_profile  .bashrc  Desktop  Documents  Downloads
  5. Bash – .bash_profile, .profile, or .bash_login.
  6. Zsh – .zshrc
  7. Tcsh – .tcshrc, .cshrc or .login.
  8.  
  9. 2) Add an export command to profile script.
  10.  
  11. export PATH=~/.local/bin:$PATH
  12. This command adds a path, `~/.local/bin` in this example, to the current PATH variable.
  13.  
  14. 3) Load the profile into your current session.
  15.  
  16. $ source ~/.bash_profile
  17.    
  18. export PATH=~/.local/bin:$PATH
  19.    
  20. $ brew install awsebcli
RAW Paste Data
Top