LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-06-2008, 09:07 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question vi editor in hardy heron


Hi ,


i find it very difficult to the edit the files such as
/etc/hosts, /etc/network/interfaces .... using vi editor , in ubuntu 8.04, has the commands changed ?
 
Old 08-06-2008, 09:21 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
The vi commands? No, those have nothing to do with Ubuntu. If you don't like vi, why not use a different editor like nano, pico, joe, emacs, gedit, mousepad, kate, kedit, etc., etc., etc.
 
Old 08-06-2008, 09:31 AM   #3
rajveervashisth
LQ Newbie
 
Registered: Mar 2008
Posts: 19

Rep: Reputation: 0
I would suggest to take a print of this and paste it at your workplace:

http://www.kcomputing.com/kcvi.pdf
 
Old 08-06-2008, 09:55 AM   #4
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
I sometimes have issues w/ vi in ubuntu as far as it just plain acting funny , to solve i install and use vim or "VI iMproved"

Regards
JKZfixme
 
Old 08-06-2008, 10:06 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
If I type vi, I get vim. That works fine
 
Old 08-06-2008, 10:59 AM   #6
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
I use the gnome one - gedit. I find it much easier, unless you want to do something clever.

e.g. At terminal type

Code:
sudo gedit /etc/hosts/filename
That is how I edit any config files that need changing.
 
Old 08-06-2008, 01:03 PM   #7
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Maybe you will be happier with
Code:
# nano
it is wysiwyg, and is a bit more intuitive.
Why I suggest this is because it is already installed by default in Ubuntu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finally on Hardy Heron! Triumph Linux - Newbie 2 07-02-2008 06:59 AM
Now that Hardy Heron Is Released... cmnorton Ubuntu 40 05-16-2008 07:56 AM
LXer: This week at LWN: The Grumpy Editor encounters the Hardy Heron LXer Syndicated Linux News 0 05-06-2008 02:00 PM
Ubuntu 8.04 Hardy Heron greengrocer Ubuntu 3 05-03-2008 09:05 PM
LXer: Hardy Heron? Hardly LXer Syndicated Linux News 0 04-25-2008 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration