echo command
Function: Display text
Syntax: Echo [-nee][string]
Description: Echo will send the input string to standard output. The output strings are separated by white space characters, and a newline number is added at the end.
Double quotes can only recognize variables (weak references), single quotes do not recognize anything (strong references), and inverted single quotes recognize commands and variables
-N Do not wrap in the last line
-E If the following characters appear in the string, they are handled in particular, rather than as general text output:
\a issued a warning sound
\b Backspace key
\c Finally, no newline symbol is added.
\ n Wraps and the cursor moves to the beginning of the line
\ r The cursor moves to the beginning of the line, but does not wrap
\ t Insert tab
\ \ insert \ Character
\onn insert ASCII character represented by NNN (octal)
\XHH Insert the ASCII character represented by the HH (hexadecimal)
Example: Echo-e "*\c" equivalent to Echo-n "*"
ls command
Description: Hidden files are not displayed by default
-A: Show All files (including hidden files)
-L: Show additional information
-r: Directory recursion through
-1: Display in one column
-ld: Directory and Symbolic link information
-S: Sort by column by file size from left to right
-SL: Row by size from top to bottom
-H: Sort LIKE-SLH in an easy-to-read manner
-U: Sort the last time the file was accessed
-U: Sort by disk order
Example: [[email protected] ~]# LS-U1
-X: Sort by extension
-I: Index information for the I node of the output file
This article is from the "Hehelinux" blog, make sure to keep this source http://hehelinux.blog.51cto.com/11704329/1787935
Linux Basic Command-echo