May 2018
Beginner
332 pages
7h 28m
English
Enter the following script to see how to avoid a variable substitution in these files:
filename="test1" cat <<'Quoted_End_Marker' When we add quotes before and after here Document marker, we can include variables Such as $USER, $PATH, $name and similar Quoted_End_Marker
$ bash here_no.sh
When we add quotes before and after here Document marker, we can include variables Such as $USER, $PATH, $name and similar
This script uses an ordinary here file, but it turns off the variable substitution. Otherwise, you would see the values of $HOME, $filename, and ...