Skip to content

Commit bc20713

Browse files
committed
Example 4: change double to single quotes in echo
Bash doesn't like exclamation marks in double quotes: $ echo "oh no!" > index.html -bash: !": event not found
1 parent 3308463 commit bc20713

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

version-control/command-line/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ $ git push origin master
230230
Edit the index.html file and then check the changes.
231231

232232
```bash
233-
$ echo "oh no!" > index.html
233+
$ echo 'oh no!' > index.html
234234
```
235235

236236
> Have a look at changes to the file using `git diff`

0 commit comments

Comments
 (0)