The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-03-2004
veeracer veeracer is offline
Registered User
  
 

Join Date: Nov 2004
Location: Denver
Posts: 5
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.
  #2 (permalink)  
Old 11-03-2004
odashe318 odashe318 is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 8
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0