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)