I am a newbie to UNIX. I am using mac OS X 10.8. I created .profile under home directory. However, it does not work when login. I always have to force it to work using the command
$ . ~/.profile. Can anyone explain it for me?
Another question, I try to write a Cshell name wld and make it executable. However, I cannot call it just by typing
$ wld. I have to type
$./wld. How to make it work normally?