Skip to content

Commit

Permalink
Example 4: change double to single quotes in echo
Browse files Browse the repository at this point in the history
Bash doesn't like exclamation marks in double quotes:

    $ echo "oh no!" > index.html
    -bash: !": event not found
  • Loading branch information
andypearson committed Aug 3, 2015
1 parent 3308463 commit bc20713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version-control/command-line/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ $ git push origin master
Edit the index.html file and then check the changes.

```bash
$ echo "oh no!" > index.html
$ echo 'oh no!' > index.html
```

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

0 comments on commit bc20713

Please sign in to comment.