Introduction to Several Linux commands

Source: Internet
Author: User

Du view disk capacity and disk space

Create a new file system in mkfs

CMP compares two files and indicates the first difference

Diff compares two files, listing all different places

Cat displays the file content. If the file content exceeds one screen, the display will flash.

More display the file content by page. The difference between less and less is that less can be rolled back.

Grep searches for the string mode in the file.

Find search for files or folders

Mount mounts a file system as a folder to another File System

Unmount the File System

> Redirection: outputs data to a file. <to input the file content;> to output the data to the file, append the data to the end of the file.

LDD lists the dynamic dependencies of dynamic libraries or shared files

PLDD lists the dynamic dependencies connecting to each process

Ls-s src dest is a symbolic link

Ls src dest is a hard link

Linux Command

DuIt stands for 'disk usage'. With the help of this command you can find the disk capacity and free space of the disk.

MkfsCreate a new file system.

CMPCompares two files byte by byte and displays the first mismatch;

DiffTells the changes to be made to make the files identical.

CatDisplays file contents. If the file is large the contents scroll off the screen before we view it.

MoreDisplays the contents page by page.

GrepSearch the string pattern inside a file.

FindSearch file and folders.

MountAttach a file system to a directory of another File System

UnmountDetaches a file system.

>Directing the flow of data to the file or from the file for input or output.

LDDLists dynamic dependencies of executable files or shared objects.

PLDDLists the dynamic libraries linked into each process.

Ln-s SRC destIs Symbolic Link.

Ln SRC destIs hard link.

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.