Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-06-2008, 09:07 AM
|
#1
|
Member
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324
Rep:
|
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 ?
|
|
|
08-06-2008, 09:21 AM
|
#2
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
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.
|
|
|
08-06-2008, 09:31 AM
|
#3
|
LQ Newbie
Registered: Mar 2008
Posts: 19
Rep:
|
I would suggest to take a print of this and paste it at your workplace:
http://www.kcomputing.com/kcvi.pdf
|
|
|
08-06-2008, 09:55 AM
|
#4
|
Member
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Rep:
|
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
|
|
|
08-06-2008, 10:06 AM
|
#5
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep:
|
If I type vi, I get vim. That works fine
|
|
|
08-06-2008, 10:59 AM
|
#6
|
Member
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187
Rep:
|
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.
|
|
|
08-06-2008, 01:03 PM
|
#7
|
Member
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Rep:
|
Maybe you will be happier with
it is wysiwyg, and is a bit more intuitive.
Why I suggest this is because it is already installed by default in Ubuntu.
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|