Where can I find the .profile in my user's logon in SCO?I am needing to edit it, so I can add a PATH to it, so that my PATH loads up in start up.I have to add:echo $PATH... as I have already edited the PATH.Any help on where to find this .profile file would be greatly appreciated.
.profile in SCO
path;profile;sco
Your .profile, like any dot file (configuration file whose name begins with a .), is located in your home directory. This is the default directory when you log in, you can use the cd command with no argument to return there, and you can use ~ as a shortcut to it, e.g. you can refer to your .profile as ~/.profile no matter what the current directory is.If your .profile is absent, the system behaves as if it was empty (this is the case for most dot files). So if you want to add something, create the file if necessary. Use the text editor of your choice.Adding echo $PATH to .profile is useless, and even a bad idea because it can break remote file copying tools such as rsync. I don't understand what you're trying to do. If you want to add a directory to your PATH, put this in your ~/.profile:PATH=$PATH:/some/extra/directoryThis adds the specified directory last in the search path. Or if you want to add the subdirectory bin from your home directory to the front of the search path:PATH=~/bin:$PATHSome antique shells require an additional line export PATH, but I think even on SCO it isn't necessary this millennium.