Command Summary notes under Linux (ii)

Source: Internet
Author: User

Said in front of the words:

This article is presented in the form of notes, then its content will also have an updated process. Its commands are also pro-test content, you can rest assured that the use of (except for the Blue font section, the blue part is not tested or not verified after testing). If you have any questions, you can leave a message for me.


1. System-related

Uname: Get information about your PC and your operating system

Syntax: uname [-amnrsvpio][--help][--version]
Supplemental Note: uname can display basic information such as the version of the operating system used by the Linux host, the name of the hardware, etc.
Parameters
-A or –all verbose output all information, followed by kernel name, hostname, kernel version number, kernel version, hardware name, processor type, hardware platform type, operating system name
-M or –machine displays the hardware (CPU) name of the host
-N or-nodename displays the name or host name of the host on the network node
-R or –release      Displays the Linux operating system kernel version number
-S or –sysname      Display the Linux kernel name
-V display shows the version of the operating system
-P display processor type or unknown
-I.                  Show hardware platform type or unknown
-O Display Operating system name
-help              Get help information
-version            Show uname version Information

Lsb_release: View release information for the current system

Common parameters
Format: lsb_release
Format: lsb_release-v
View the version information for the LSB itself.
Format: lsb_release-a
Print all information about the distribution of this system, such as the ID of the distribution, description information, specific version, code name.
Format: lsb_release-d-S
Format: Head-1/etc/issue


2.PATH related

echo $PATH View environment variables in the current system

Path= "$PATH":p Ath adds a new directory to PATH, such as: Path= "$PATH":/root


3. File System Related

Ls-l/lib/modules/$ (uname-r)/kernel/fs See what file systems are currently supported by Linux

Cat/proc/filesystems View system currently loaded into memory supported file systems


Also: If you do not have the command you want here, you can go to my previous blog to find the answer.

Command Summary notes under Linux (i)

Command Summary notes under Linux (ii)

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.