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

Rick Donato

Want to become a Linux expert?

Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial