fir3net
PPS-Firenetbanner-780.5x190-30-03-17

Bourne - Special Characters

&
run command in the background
*
wildcard
?
single wildcard
<
input redirect
>
input redirect
|
pipe outpt to one command from another
#
remark symbol, ignores characters after 

It is best to avoid using these special characters when naming files.

To pass these charaters to another program, you will need to prefix the character with a \ character. 

Without

a;" face="helvetica">[root@redhat ~]# echo food bill is $10
food bill is 0

With

a;" face="helvetica">[root@redhat ~]# echo food bill is \$10
food bill is $10

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001