Skip to main content

New answers tagged

1 vote

Newbie trying to write a simple script to automate command

Andy's answer is correct AFAICS. I'm adding this answer to provide some alternatives you may want to consider: There are two aspects to your question: 1) is the PATH aspect wrt the location of your ...
Seamus's user avatar
  • 4,762
4 votes

Newbie trying to write a simple script to automate command

If this script is named snapshot_remove you need to execute it as ./snapshot_remove in its parent directory. It has to be prefixed with the directory as the directory will not be in the $PATH by ...
Andy Griffiths's user avatar
3 votes
Accepted

My terminal applications start bash, but no init files are getting sourced

With your configuration, only .bash_profile should be sourced. .profile is not sourced, if .bash_profile exists. .bashrc is not sourced, if the shell is a login shell. I suggest that you put your ...
user1934428's user avatar

Top 50 recent answers are included