Solved

UNIX editors

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

808 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