Solved

UNIX editors

Posted on 2004-08-22
3
194 Views
Last Modified: 2010-04-21
How would I change my default editor for example emach to vi or pico to vi or visa versa.
0
Comment
Question by:aahlawat
  • 3
3 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 11866691
assume that you are a csh user as memtion in your other question, you type
in:

setenv EDITOR vi

you can also put it in your .cshrc file
0
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 11877439
For sh/ksh/bash

EDITOR=vi
export EDITOR

you can also put it in your .profile
0
 
LVL 38

Expert Comment

by:yuzh
ID: 11877822
Why a B?
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

Title # Comments Views Activity
what is a good general partitioning scheme for RHEL? 23 119
AIX 5.x set up arrow to recall 11 46
unix solaris snoop command 6 84
Bash Script to Analyze Oracle Schemas 11 80
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.:
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…

929 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

13 Experts available now in Live!

Get 1:1 Help Now