Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

korn shell startup

Posted on 2000-02-24
3
Medium Priority
?
194 Views
Last Modified: 2013-12-27
my new account is on a solaris system with ksh when i login, how to set it that it can start with csh, because i am familiar with that and have many written scripts. can i do it with user level? in my old account which is on OSF machine i can set my own startup settings in .cshrc and .cshrc.mine files, how to do this in ksh here? and what command is to change the email editor, not the general editor, in ksh? there aren't many system files starting with '.' in personal account in solaris.
0
Comment
Question by:wangzq
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 150 total points
ID: 2556068
1.  First try running 'chsh' to switch yourself to csh.  It may not work depending on how locked down the security on the box is, however.
2.  If this doesn't work, you could also setup a .profile file to do something like
    export SHELL=/usr/bin/csh
    exec /usr/bin/csh
3.  The editor for sending mail depends on what mailer you're using.  Mailx/Mail looks at the EDITOR line in ~/.mailrc (set EDITOR=/usr/bin/vi).  dtmail (the mailer in CDE) has its own built-in editor, as does the mail reader in Netscape Communicator.
4.  See the man pages for ksh and your mailer.
0
 

Author Comment

by:wangzq
ID: 2558265
none of your suggestions works. except the .profile idea, then the shell does't know most mail commands, like scan, inc,
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 2558367
scan and inc are not commands built into the shell.  They're part of the MH mail system.  I don't think MH is bundled with Solaris (or any other commercial Unix, for that matter), so you'll have hunt down a distribution for it if you want to keep using it.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question