Linux Shell Command Series (1)

Source: Internet
Author: User

1. ls command
The LS command is the meaning of listing directory contents (list directory Contents). Running it is to list the contents of a folder, possibly a file or a folder.
The "ls-l" command lists the contents of the folder in detail mode (long listing fashion).
The "ls-a" command lists everything in the folder, including the following "." The hidden file at the beginning.
Note: In Linux, the files are "." The beginning is the hidden file, and each file, folder, device or command is treated as a file

2.LSBLK command

"Lsblk" is the list of block devices. In addition to RAM, the block device is displayed neatly in a standard tree-like output format.
The "lsblk-l" command displays block devices in list format (not tree format).
Note: LSBLK is the most useful and easiest way to learn the name of a newly inserted USB device, especially when you are working on a disk/block device on a terminal.

3. md5sum command

"Md5sum" is to calculate and verify the MD5 information signature. MD5 checksum (commonly called hashing) uses the integrity of files that match or validate files, because files may be due to transmission errors, disk errors, or non-malicious interference.
and change.

4. DD Command

The "DD" command represents the conversion and copying of files. can be used to convert and copy files, most of the time is used to copy the ISO file (or any other file) to a USB device (or any other place) to go, so can be used to make USB boot
Actuators.
[Email protected]:~# dd If=/home/user/downloads/debian.iso OF=/DEV/SDB1 bs=512m; Sync
Note: In the above example, the USB device is SDB1 (you should use the LSBLK command to verify it, otherwise you will rewrite your disk or system), please use the name of the disk carefully, avoid.
The DD command consumes a few seconds to a few minutes depending on the size and type of the file and the read and write speed of the USB device.

5. uname command

The "uname" command is shorthand for UNIX name. Displays the machine name, operating system, and kernel details.

Linux Shell Command Series (1)

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.