Common Ubuntu commands

Source: Internet
Author: User
Some common Ubuntu commands: 1. command for changing user password: # sudopasswdroot2.ubuntu contains the Pinyin Input Method by default. Press Ctrl + space to switch. 3. check whether the system is a 32-bit or 64-bit (1) command: # uname-m (or uname-a) if it is i386 to i686, It is a 32-bit system; if it is x86_64, It is 64 system; (2) command: # getcon

Some common Ubuntu commands:

1. Change the User Password

Command: # sudo passwd root

2. the Pinyin input method is available in ubuntu by default. Press Ctrl + space to switch.

3. Check whether the system is 32-bit or 64-bit.

(1) command: # uname-m (or uname-)

For i386 to i686, It is a 32-bit system; for x86_64, It is a 64-bit system;

(2) command: # getconf LONG_BIT

4. view the system version number

(1) command: # cat/etc/issue

(2) command: # sudo lsb_release-

;

5. view the kernel version number

Command: # uname-r

6. Install Google Chrome in unbutu

In Ubuntu directly access the http://www.google.com/chrome to download the browser, download according to your own system to download the installation package, and then install deb package, you can find Google Chrome in the Internet sub menu;

Deb package installation method, cd to the downloaded file directory, command: # dpkg-I file. deb

If you download an rpm package, you must first convert it to a deb package and then install it. The rpm package is converted to a deb package:

Sudo apt-get install alien # alien is not installed by default, so install it first (installation command: apt-get install alien)

Sudo alien xxxx. rpm # convert rpm to deb. After the conversion, a xxxx. deb with the same name is generated.

Sudo dpkg-I xxxx. deb # installation.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.