The backslash ( \ ) escape character

ashish#: echo "\as shdd"
\as shdd
ashish#: echo "Well, isn't that \"special\"?"
Well, isn't that "special"?

ashish#: echo "Well, isn't that \special\?"
Well, isn't that \special\?

ashish#: echo "Well, isn't that \$special\$?"
Well, isn't that $special$?

ashish#: echo "Well, isn't that \$ special \$?"
Well, isn't that $ special $?

ashish#: echo "Well, isn't that \#special\#?"
Well, isn't that \#special\#?

ashish#: echo "Well, isn't that \'special\'?"
Well, isn't that \'special\'?

ashish#: echo "Well, isn't that \' special \'?"
Well, isn't that \' special \'?

ashish#: echo "Well, isn't that \\' special \'?"
Well, isn't that \' special \'?


ashish#: echo "Well, isn't that \\\' special \'?"
Well, isn't that \\' special \'?

ashish#: echo "Well, isn't that \\\'\\ special \'?"
Well, isn't that \\'\ special \’?



rm *    # delete all files in the current directory
 
rm \*   # delete the file named *


Comments

Popular posts from this blog

Standard Error

Shell Basic Operators.

AWK