148 reputation
7
bio website ashworthconsulting.com
location Vancouver, WA
age 34
visits member for 3 years, 10 months
seen Dec 19 at 18:28

Mar
6
comment Sourcing a config file in bash
Yeah, getting the path from within the script was an all-around win. That worked beautifully!
Mar
6
awarded  Self-Learner
Mar
6
awarded  Teacher
Mar
6
answered Sourcing a config file in bash
Mar
6
comment Sourcing a config file in bash
That totally helped out. Thank you Aaron!
Mar
6
comment Sourcing a config file in bash
Well that's kind of the issue. Theoretically the script.sh can be executed from just about anywhere on the system. It doesn't really matter where you execute script.sh from...as long as you can supply a correct path to the script to execute it. That's my thinking anyways.
Mar
6
comment Sourcing a config file in bash
Maybe there's a better way to get the path, relative to the script being executed?
Mar
6
asked Sourcing a config file in bash
Jul
17
accepted Listing or Working With a Range in the Shell
Jul
17
comment Listing or Working With a Range in the Shell
Totally did the trick. Thanks!
Jul
17
awarded  Supporter
Jul
17
awarded  Student
Jul
17
asked Listing or Working With a Range in the Shell
Jan
19
awarded  Tumbleweed
Jul
25
comment Linux script to check settings and recommend tuning changes?
Not sure how it's "vague". I told the community precisely what I am hosting. It's a Wordpress site. I also included exactly which types of values I was attempting to change.
Jul
25
revised Linux script to check settings and recommend tuning changes?
Updated information.
Jul
25
asked Linux script to check settings and recommend tuning changes?
Feb
7
accepted MySQL rotating backup script - plesk
Feb
7
comment MySQL rotating backup script - plesk
Weird. I'm logged in as root and setting up the .sh script and crontab as root, so I'm stumped as to why root cannot execute this.
Feb
7
awarded  Editor