![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Switch + stirng | DNAx86 | Shell Programming and Scripting | 5 | 01-09-2008 10:10 AM |
| switch login | sharif | UNIX for Advanced & Expert Users | 1 | 12-12-2007 04:03 AM |
| Switch | abey | High Level Programming | 12 | 06-27-2006 07:11 PM |
| switch from csh to ksh | veeracer | Shell Programming and Scripting | 8 | 11-05-2004 02:13 PM |
| can you switch | neer45 | Shell Programming and Scripting | 3 | 12-05-2001 08:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
switch from csh to ksh
My UNIX SA requires that we start in CSH. I like to use KSH because most of my experience is in that shell. I added ksh to the end of my .login script which does take me into KSH but I would like to automatically execute my .profile to setup my aliases.
I cannot use a .shell file because I need to execute other scripts in my .login that do not run in ksh. |
|
||||
|
ksh startup
I did not understand what you meant by "I cannot use a .shell file ". But if I understand your problem consider this:
The man says: "The shell first reads commands from the /etc/profile file, and then from either the .profile file in the current directory or from the $HOME/.profile file, if either file exists. Next, the shell reads commands from the file named by performing parameter substitution on the value of the ENV environment variable, if the file exists." Could you put your profile name into ENV variable and then run ksh? setenv ENV myprofile ksh |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|