This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VAR="print me!" | |
#double quotes resolve variables. | |
echo "value is $VAR" | |
#single quotes process the content literally. | |
echo 'value is $VAR' | |
#backquotes execute commands in a new shell, stdout of execution is handed back to the caller. | |
echo "cmd `date`" |
No comments:
Post a Comment