SyntaxFix
Write A Post
Hire A Developer
Questions
This saves the absolute path of the current working directory to the variable cwd:
cwd
cwd=$(pwd)
In your case you can just do:
export PATH=$PATH:$(pwd)+somethingelse