Hi,
I want to assign a pwd value to a variable
filepath=$pwd
Thx in advance
Hi,
I want to assign a pwd value to a variable
filepath=$pwd
Thx in advance
hey try this
filepath=`pwd`
Or try this:
filepath=$PWD
Did you try the builtin $PWD ?
Thanks to all
filepath=`pwd` worked