export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/my/lib
error:
Bad : modifier in $ (/)
echo $SHELL
/bin/tcsh
I want to add my library to LD_LIBRARY_PATH variable. But Gives the above error.
As Ignacio Vazquez-Abrams, pointed out you need to set environment variable in tcsh
syntax as
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:"/home/my/lib"