Solved

korn shell startup

Posted on 2000-02-24
3
187 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
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 50 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 Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now