Linux common commands and installation software commands

Source: Internet
Author: User
Tags clear screen

1. Check whether the operating system is 33-bit or 64 the simplest method

getconf Long_bit or Uname-a

2. Common commands

2.1 Basic Operations

Clear Clear Screen

2.2 Installation Commands

    

RPM (Redhat Package Manager).

RMP was originally a Redhat Linux distribution program designed to manage Linux packages and is popular because it follows GPL rules and is powerful and convenient. is gradually being adopted by other distributions.

the advent of RPM suite management means that Linux is easy to install and upgrade, which indirectly increases the applicability of Linux.

on the use of RPM, you can look at the man rpm, in fact, the common use of a few, such as:

RPM-IVH xxxx.rpm Installation

RPM-UVH xxxx.rpm Upgrade

RPM-QPL xxxx.rpm Query

RPM-QF XXX Query file in which package

If you are using a graphical interface operating system, you can simply double-click the rpm file to install it, this time rpm more like the EXE installer in Windows.

. tar.gz

tar.gz is the file extension that was compressed with tar and gzip. You can open it with WinZip or WinRAR.

And under the Unix/linux:

You can use the Decompression command: TAR-ZXVF *.tar.gz

after decompression, the installation is done by line.

        

3 Enter VI Editor

Terminal Input VI can be

VI Editor Common commands

3.1 Window commands

ctrl+w s horizontal Split window

Ctrl+w w Switch window

Ctrl+w Q exits the current window (this command does not affect other windows because there are multiple files at the same time)

Ctrl+w v Vertical Split window

3.3 Exit Editor

: w save changes, do not exit

: Q Exits, if the buffer has been modified, prompt

: Wq Save changes, exit

3.3 Cursor Movement

h on

J Down

K Left

L Right

Ctrl-f up a page

Ctrl-b down one page

W Jump to the next word, split by punctuation or word

W jumps to the next word, long jump, as end-of-line is considered a word

E jumps to the next sub-tail

E jumps to the next sub-tail, long jump

B jumps         to the previous word B     jumps to the previous word, long jump

^
$
Gg
Gd
N G
Fx
;
Tx is similar to FX, but just jumps to the previous word of X prompt fx
),(
*
#
`.

H
M
L Move the cursor to the bottom line on the current screen

 

Linux common commands and installation software commands

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.