ksh
export name="bhargav"
csh setenv name bhargav
Trying like this and from windows Iam using plink command to get the variable value. But it showing the error undefined variable
ksh
export name="bhargav"
csh setenv name bhargav
Trying like this and from windows Iam using plink command to get the variable value. But it showing the error undefined variable
For the target-user, does Linux have bash or ksh as the shell for that user? If Linux is configured with bash as the shell, then ensure that the ~/.bashrc exports that variable. If Linux is configured with ksh as the shell for the user account (instead of bash), try exporting the variable in ~/.profile