![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 07:19 AM |
| Where can I read about the difference between "..profile" and ".profile" | zorrokan | UNIX for Dummies Questions & Answers | 2 | 09-05-2007 01:35 AM |
| Difference between .profile and .~/.profile | maneesh mehta | SCO | 3 | 12-14-2005 04:35 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 11:21 AM |
| why i have local.profile, local.cshrc,local.login instead of .profile, .login ? | abidmalik | UNIX for Dummies Questions & Answers | 5 | 08-27-2002 01:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Profile Issue
when I log into my solaris box, my environment variables are not getting set, and i am getting this error? any ideas?
-sh: ORACLE_BASE=/u01/oracle: is not an identifier part of .profile is: export ORACLE_BASE=/u01/oracle export ORACLE_HOME=$ORACLE_BASE/app/products/10.2.0/db_1 ... |
|
||||
|
try:
Code:
VAR=some/value export VAR The Bourne Shell does not export environment variables to children unless explicitly instructed to do so by using the export command. |
|
||||
|
Quote:
/bin/sh is a legacy shell that remains only for compatibility reasons with mostly hypothetical antique scripts. It shouldn't be assigned to a real user because it lacks so many useful and standard features. |
|
||||
|
Nevertheless the .profile should be kept sh -compatible because it is used by sh, by whatever process or user might be assigned /bin/sh as a login shell. In this particular case, the hurdle is minimal.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|