Top ".bash-profile" questions

For questions about scripts written for the Bash command shell.

Reload .profile in bash shell script (in unix)?

I'm new to bash shell scripting, and have come across a challenge. I know I can reload my ".profile" file …

bash shell unix .bash-profile
sudo: port: command not found

I recently uninstalled Xcode 4.2 and re-installed Xcode 4.3.1. Command Line Tools are installed. I then installed MacPort using “dmg” disk images …

terminal osx-lion macports xcode4.3 .bash-profile
Passing argument to alias in bash

Is it possible to do the following: I want to run the following: mongodb bin/mongod In my bash_profile …

bash shell .bash-profile
How to remove entry from $PATH on mac

I was trying to install Sencha Touch SDK tools 2.0.0 but could not run it properly. It created an entry in …

macos bash terminal .bash-profile path-variables
Getting "Warning! PATH is not properly set up" when doing rvm use 2.0.0 --default

Above doesn't work first time, works 2nd time. Try to set ruby version to 2.0.0 for any new shell windows. Doing $ …

ruby bash rvm ruby-2.0 .bash-profile
Mac using default Python despite Anaconda install

I am running Mac 10.9 Mavericks and have installed Anaconda. However, despite that, when I access python via terminal, I still …

python macos .bash-profile anaconda conda
Location of .bashrc for "Bash on Ubuntu on Windows" in Windows 10

Microsoft just introduced a Linux subsystem in its Windows 10 Anniversary Edition. The installation is pretty straight forward, but I could …

linux windows bash .bash-profile windows-subsystem-for-linux
Difference between .profile and .bash_profile on Snow Leopard

I am going to set the path for mySQl on my computer (I'm running Snow Leopard) but I see different …

macos terminal .bash-profile
Cannot edit bash_profile on Mac OsX

I am using MacOSX Snow Leopard 10.6.8.... I am the only user on this machine and I should be admin. I …

macos permissions osx-snow-leopard alias .bash-profile
How do I get GNU screen to read .bash_profile/.bash_rc changes?

After I make changes in .bash_rc or .bash_profile, when I start GNU screen, it doesn't recognize those changes. …

linux bash unix gnu-screen .bash-profile