Skip to content

Commit

Permalink
fix: correct typo in test command (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwmkerr authored Jan 17, 2023
1 parent 53f28c6 commit 7a59b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This expression uses the `-d` (_file exists and is a directory_) operator to che
You can surround an expression with square bracket and the shell will evaluate the expression with the `test` command. This can make your scripts far more compact:

```bash
if ! [ -d ~/backups]
if ! [ -d ~/backups ]
then
echo "Creating backups folder"
mkdir ~/backups
Expand Down

0 comments on commit 7a59b8e

Please sign in to comment.