Environment Variables – Difference Between ‘export’ and ‘setenv’

environment-variables

What's the difference between export and setenv?

Best Answer

there is none but:

setenv is the name of the command in the *csh family of shells

export is the name of the command in the "other" family of shells (ash, bourne, bourne again, zsh)

and, ok, the syntax is slightly different. but other than that? none.