setting bash shell varible to pwd
6241
How can I make environment variables "exported" in a shell script stick around?
83472
Setting Windows PowerShell environment variables
139904
pwd without symlinks
119405
How to change the working directory of invoking shell using a script?
16283
How to make `sudo` preserve $PATH?
8641
Which are the (Bash) shell special parameters/variables?
57878
How do you use a shell other than bash at a terminal as default?
7224
How to send variable to an inline shell-script?
15667
How can I pass a command line argument into a shell script?
6750
Pass shell variable as a /pattern/ to awk
25487
How to store a command in a variable in a shell script?
148538
How do I run a program with a different working directory from current, from Linux shell?
108798
Run Bash Script as Root
49325
set environment variables from stdout
131823
Why is setting a variable before a command legal in bash?
144371
How do I change directories from the command line?
130622
How do I set up bash completion for command arguments?