Linux commands Daquan

Source: Internet
Author: User

First, System Management and Setup

Ii. User and User group management

Third, Disk Management

Iv. File and directory management

V. Backup and compression

VI. network management and related applications

Vii. Vi/vim Editor

First, System Management and Setup

1. Information Display command

Man & info & help/Manuals

Cat/proc/cpuinfo | grep Flags | grep--color "LM" | WC-L//result greater than 0, description supports 64-bit calculation. " LM "refers to a long MODE,LM is a 64-bit

getconf long_bit//View the number of CPU bits

Cat/proc/cpuinfo | grep name | Cut-f2-d: | UNIQ-C//View CPU Model

Cat/proc/devices//Lists the main device numbers for characters and block devices, and the device names assigned to these device numbers

Cat/proc/filesystems//Read file system

Cat/proc/interrupts//Display Interrupt

Cat/proc/ioports//View IO port

CAT/PROC/LOADAVG//See system load

Cat/proc/meminfo//See memory information

Date//Display current system time

Date + '%y/%m/%d '//Display time in year/month/day format

Date + '%y-%m-%d '//Display time in year/month/day format

Date +%h:%m//display time, minutes

Date-r test//Show test file last modified time

DMESG//See startup information

Cal//View calendar

Dmidecode | grep "Product Name"//view machine model

Dmidecode | more//View hardware information

Dmidecode | grep "Serial number"//view the motherboard serial numbers

File/sbin/init//See if the system is 32-bit or 64-bit

FREE-M//Display memory status in m units

History-c//Clear History

Hostname//View host name

Hostname-i//Display host IP address

Hostname host name//set hostname

Hwclock//Get Current hardware time

Clock--show//view hardware time

Lspci | grep Ethernet//View information online

LSPCI-TV//List all PCI devices

LSUSB//Output all USB devices

ls/etc/rc3.d/s* | Cut-c 15-//Show services running 3-level Open

Ls-l/lib/modules/$ (UNAME-R)/kernel/fs//view Linux support those file systems

Cat/proc/filesystems//view current file loaded into in-memory supported file system

Mount//List all partitions of the system

Mpstat//Multi-processor utilization

NETSTAT-ATULNP | grep 22//view 22-Port monitoring

Set//show locally defined shell variables

stat-f filename//Show file status

Stat filename//Display file details

Tac/etc/hosts//In contrast to cat, the hosts content is displayed on the screen from the last line to the first row

Time LS//To see how long it takes to execute the LS command

          

 

 

 

 

 

 

 

Linux Command Encyclopedia

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.