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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Specifying font type and color in a shell script Vani_Govind Shell Programming and Scripting 4 03-13-2008 06:42 AM
how to display the shell type yipster UNIX for Dummies Questions & Answers 3 11-04-2006 09:38 PM
Lynx - Downloading - extension handling - changing mime type? yitzle UNIX for Dummies Questions & Answers 2 10-17-2006 11:46 PM
how to identify the type of shell using comands.. swamymns Shell Programming and Scripting 2 01-18-2006 01:17 AM
Help on Simple shell that look for a file type Peterh Shell Programming and Scripting 5 10-07-2003 12:38 AM

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 09-05-2008
venhart venhart is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 39
changing shell type from sh to ksh

Could someone please advise, what's the best way to changing the shell type from sh to ksh.

When I login into a unix server it takes you directly to sh, is there a way of amending the .profile to use ksh instead. Or is there some other way ?
Ideally it would be good to be done from the login process.

Please could someone advise, regards
  #2 (permalink)  
Old 09-05-2008
glen.barber glen.barber is offline
Registered User
  
 

Join Date: May 2008
Location: Philadelphia, PA, USA
Posts: 117
The 'chsh' command will permanently change your default shell. The manpage will explain the syntax.

Regards.
  #3 (permalink)  
Old 09-05-2008
venhart venhart is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 39
Hi, I've just tried this and get the following error : chsh: not found
  #4 (permalink)  
Old 09-05-2008
glen.barber glen.barber is offline
Registered User
  
 

Join Date: May 2008
Location: Philadelphia, PA, USA
Posts: 117
What operating system?
  #5 (permalink)  
Old 09-05-2008
venhart venhart is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 39
Hp-unix
  #6 (permalink)  
Old 09-05-2008
venhart venhart is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 39
SunOS Generic_127112-08 i86pc i386 i86pc
  #7 (permalink)  
Old 09-05-2008
glen.barber glen.barber is offline
Registered User
  
 

Join Date: May 2008
Location: Philadelphia, PA, USA
Posts: 117
Is /usr/bin in your $PATH?
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 08:38 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