How to learn vim in linux

Source: Internet
Author: User
To learn how to use vim in linux, input the vim command and find that vim is not installed: commandnotfound & hellip; it doesn't mean that vim is installed by default, why? & Hellip; post on the Internet and reply to the result. if not, install it. I haven't learned how to install... learn about vim in linux. during this time, in order to learn how to use vim, I entered the vim command and found that vim was not installed: command not found ...... It's not that vim is installed by default. how can this happen ?...... Post on the Internet and reply to the result. if not, install it. I have not learned how to install the software yet! So I went to see how to use the rpm command or yum to install the RPM package. I entered yum install vim like a gourd, and the result showed: not retrieving http://centos.org/ ... I asked the internet again, and replied that you are not connected to the network? I installed virtualbox in linux. I checked the relevant tutorials online. virtualbox has been set to NAT and is automatically connected. In linux, how does one query for network connections? Check on the internet. in linux, the ping command is also run, but the domain name is not supported. only the IP address can be pinged. in the window terminal, query the IP address 123.125.65.91 that Baidu Knows. in linux, enter ping 123.125.65.91, the result is reach unvaliable. Linux is not connected, so it's crazy ...... Baidu came to Baidu. some said that the driver was not installed, and some said that the Nic was not enabled ......, So I noticed that the command ifconfig-a can be used to query the network configuration, some of which are similar to config/all in the window, so after entering a bunch of text input, I can see eth0, according to the Internet, it should be the virtual network card connection under the virtualbox corresponding to linux. Intuitively, the driver Nic is installed, but the corresponding eth0 does not seem to have seen the corresponding IP address. Finally, I found another command ifup eth0 on the Internet, which is used to start the NIC. Do I have to start the Nic manually? Press enter and ping again. The ping information similar to the ping information in the window appears. It seems that many things in linux need to be started manually, not as automated as windows. of course, this is also the security of linx ...... Start to install vim and yum install vim. A normal message is displayed. press enter twice during the process to complete the operation!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.