Differences between centos and Ubuntu commands

Source: Internet
Author: User

Centos (community enterprise operating system)It is one of the Linux releases and is compiled from the source code released by Red Hat Enterprise Linux according to open source code regulations. Because of the same source code, some servers that require high stability use centos instead of the commercial version of Red Hat Enterprise Linux.
UbuntuIt is a Linux operating system mainly based on desktop applications. Its name is "ubuntu" in Zulu or Haos in southern Africa ), it means "Human Nature" and "my existence is because of the existence of everyone". It is a traditional African value, similar to the "benevolence" Thought of Chinese society. Ubuntu is based on the Debian release and GNOME desktop environment. Unlike Debian, UBUNTU releases a new version every six months. The goal of Ubuntu is to provide a general user with the latest and stable operating system built mainly from free software. Ubuntu has a huge community power, allowing users to easily get help from the community.

The two are common service-level operating systems for individuals and small teams in the current version. The software libraries provided online can be easily installed into many open-source software and libraries. Both use Bash as the basic shell, so in many basic commands, the difference between Ubuntu and centos is not very obvious, while Ubuntu does better on the desktop interface, many users prefer Ubuntu if they are interested in learning Linux. After all, many users are still very accustomed to operating in desktop graphics.The usage habits and commands of centos and Ubuntu are quite different.Below is a simple list:
1. the non-root user created in centos does not have the sudo permission. To use the sudo permission, you must add the account and permission to/etc/sudoers, when switching to the root account, you only need to enter Su and add the password of the root account. In ubuntu, The sudo + command is generally used. If this is the first time you use it, you will be prompted to enter the current user's password (instead of the root password)
2. In online Installation Software, centos uses the yum command, while Ubuntu uses the apt-GET command. In addition, yum also provides a method to search for software from the software source: Yum search + software name
3. centos is from RedHat, so centos supports RPM installation, while Ubuntu obviously does not.
4. After all, it is different releases made by different companies. The location of many configuration files is very different from that of the default file path. This requires some experience in the use process.

According to the following rule, the last part of the URL is the version number:

Http://releases.ubuntu.com/12.04/

Http://releases.ubuntu.com/13.04/

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.