Solved

korn shell startup

Posted on 2000-02-24
3
188 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 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

12 Experts available now in Live!

Get 1:1 Help Now