Skip to content

Commit

Permalink
fixed command (#342)
Browse files Browse the repository at this point in the history
fixed command
  • Loading branch information
schlessera authored Nov 12, 2019
2 parents 2840475 + 7452806 commit d40ddf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell-friends.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $ wp import wordpress.wxr --authors=create > import.log
Redirect STDERR to STDOUT with `2>&1`, and then capture STDOUT to a log file.

```bash
$ wp import wordpress.wxr --authors=create 2>&1 import.log
$ wp import wordpress.wxr --authors=create > import.log 2>&1
```

When you're capturing output to a file, you won't see the output in your current shell session. However, you can open a second shell session and run `tail -f <file>` to see the output as it's added to the file.
Expand Down

0 comments on commit d40ddf5

Please sign in to comment.