Solved

UNIX editors

Posted on 2004-08-22
3
193 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

746 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