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 > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
different shell csh bash ajp7701 Shell Programming and Scripting 1 04-18-2008 04:19 PM
c shell instead of bash ajp7701 Shell Programming and Scripting 0 03-18-2008 04:15 PM
Bash Shell BG_JrAdmin Linux 1 08-07-2006 01:56 PM
need help with bash shell script vmtailor UNIX for Dummies Questions & Answers 2 03-03-2005 04:30 PM
Bash Shell Scripts sonbag_pspl UNIX for Dummies Questions & Answers 2 08-27-2004 01:31 AM

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

Join Date: May 2006
Posts: 3
Question Bash shell ...

Hi All,
I am using HP-UX. Here ksh is configured as a default shell. How can i change this to bash.

And please let me know of any freely available X-Terminals through which i can connect to Unix system from Windows.

Regards,
Vijay Hegde
  #2 (permalink)  
Old 06-06-2006
prajith78 prajith78 is offline
Registered User
  
 

Join Date: Jun 2006
Location: Bangalore, India
Posts: 8
Post

there is a file /etc/passwd.
locate the row having ur user id in this file.
in that row, the 7th entry curresponds to your default shell.
change it to to the desired shell.
(provided you have the access to write. otherwise get the help of ur admin to get it done)

regard
prajith
  #3 (permalink)  
Old 06-06-2006
thestevew thestevew is offline
Registered User
  
 

Join Date: Mar 2006
Location: South Yorkshire, UK
Posts: 114
I'm never happy editing /etc/password directly, if your unix has chuser then root or a user with UserAdmin authorization can:

chuser shell=/usr/bin/ksh <userid>


XLiveCD X server is a good, free, cygwin based server for Windows, which can run direct from CD with no files installed on the PC. Look at http://xlivecd.indiana.edu for download and documentation.

cheers
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 09:15 PM.


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