From 7452806e0f99965f1bc85f992f8974d3f7e90cdf Mon Sep 17 00:00:00 2001 From: nxnjz <43261757+nxnjz@users.noreply.github.com> Date: Mon, 7 Oct 2019 21:38:16 +0300 Subject: [PATCH] fixed command --- shell-friends.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-friends.md b/shell-friends.md index 12706fdb..e3db6f11 100644 --- a/shell-friends.md +++ b/shell-friends.md @@ -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 ` to see the output as it's added to the file.