So there are actually three types of quotation marks and each one means something different to Unix Single quote forward quote Just for clarity this is the key next to the Enter key on most keyboards. A pair of single quotes tells Unix that the contents are a string and that it should not mess around inside..The double quotes allowes to print the value of $SHELL variable, disables the meaning of wildcards, and finally allows command substitution. The single quote quote protects everything enclosed between two single quote marks. It is used to turn off the special meaning of all characters..If you want to send a meta character to a program, you must quote the There are three different “quotation” marks on the keyboard Two of .Double Quotes. Use when you want to enclose variables or use shell expansion inside a string. All characters within are interpreted as regular characters except for $ or ` which will be expanded on the shell..
0 Komentar