![]() |
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 |
| Solaris 10 root shell change | x96riley3 | SUN Solaris | 10 | 09-22-2008 10:24 AM |
| How do I change domain name from shell? | lucas | IP Networking | 2 | 05-12-2008 10:14 AM |
| How do I change domain name from shell? | lucas | UNIX for Dummies Questions & Answers | 3 | 05-09-2008 02:17 AM |
| How can I change my default shell | milhan | Shell Programming and Scripting | 17 | 07-13-2004 04:15 PM |
| change user in a shell | scottl | UNIX for Dummies Questions & Answers | 2 | 08-28-2003 04:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Change to ksh shell
Hi everyone:
Mi default shell is sh, i need to set the TMOUT variable so i need to change the shell to ksh, I change the /etc/profile file as follows, but when i do an echo $0 stll sh been the shell: # more /etc/profile # # (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC. # ALL RIGHTS RESERVED # # # OSF/1 Release 1.0 trap "" 2 3 export LOGNAME TERM . /etc/TIMEZONE # Login and -su shell get /etc/profile services. # -rsh is given its environment in its .profile. case "$0" in -su ) export PATH ;; -sh ) export PATH ;; -ksh ) export PATH ;; esac umask 022 trap 2 3 SHELL=/bin/ksh export SHELL TMOUT=1800 export TMOUT # echo $SHELL /bin/ksh # echo $0 -sh What should I do to have ksh as my default shell? Best regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|