Four basic shell commands

hlep Command Help

help test

help -s printf format display built-in command syntax

a line of text to display the echo

echo "hello world" by default wrap

echo -n "hello wrold" not wrap

echo -e allow special characters in a string function

echo -e "I AM THE King \ nof the world" \ n will not be output as an output, but as to output a newline

printf format output

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/Lonelychampion/p/11586286.html