Is it possible to source ~/.profile in the current shell from a script?
126864
How to export variable for use with sudo?
92716
How to make a variable from a subshell available in the parent shell
96802
Why are scripts in /etc/profile.d/ being ignored (system-wide bash aliases)?
134518
How to run an alias in a shell script?
30854
bash aliases equivalent for powershell?
10655
How to set an alias on a per-directory basis?
72828
Analogue of NotebookDirectory[] for scripts (to get the directory path of my script.m)?
82374
Understanding .bashrc and .bash_profile
25579
Any way to specify the location of profile data
158800
Change source directory in profile maven
138855
What is the difference between ~/.profile and ~/.bash_profile?
18170
Open new Chrome window with different profile from command line
69912
How do I get bash completion for command aliases?
133631
how to source a shell script [environment variables] in perl script without forking a subshell?
81569
Equivalent to alt-. in terminal
154472
Can I export a variable to the environment from a bash script without sourcing it?
146844
How do I *reliably* and *simply* get the current shell interpreter name?