Reputation: 2185
In bash, setenv
returns "command not found...".
I (think I) can replace setenv MYPATH /path/to/something/
by
MYPATH=/path/to/something/
export MYPATH
But is there a single command I can use in Fedora that will do the same thing as setenv
?
Upvotes: 4
Views: 3589
Reputation: 50795
You can set the value of a variable while exporting it.
export MYPATH=/path/to/something
Upvotes: 6