質問

I'm trying to set my JAVA_HOME using : setenv JAVA_HOME 'pwd' , however , it sets it as pwd , rather than the actual path we get using pwd . I know it might be a stupid question but I'm an absolute newbie to Linux. Using CSH. Is there any way to do so ?

役に立ちましたか?

解決

Use backticks instead of quotes:

setenv JAVA_HOME `pwd`
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top