kgopan
1
Hi,
I am a beginner in Unix. Now I am learning setting up variables. However, I am receiving an error. Can anyone please help me with it
My command as
Test=unixprogramming
returns the error
command not found
.
(I am using FreeBSD Unix and in my terminal, it is ~%
instead of $
. is the error because of that?)
You are most likely using the tcsh shell.
This shows you how set variables:
Unix / Linux: TCSH / CSH Shell Set Variable - nixCraft
csh/tcsh shells differ from the more common shells like bash, so when you ask questions here be sure to include the fact that your shell is tcsh.
echo "$_"
will display your current shell - in csh/tcsh
kgopan
3
I could resolve the problem. Sorry for asking silly question. just started learning