From 3cee5bb2ce001e533805d24f4d26f6939056b9c0 Mon Sep 17 00:00:00 2001 From: onceupon Date: Thu, 8 Sep 2016 17:31:55 +0800 Subject: [PATCH] edit background --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 83f7bf2..ec71117 100644 --- a/README.md +++ b/README.md @@ -842,19 +842,26 @@ zless filename #####run in background, output error file ```bash -(command here) 2>log & +some_commands &>log & +``` + +or + + +```bash +some_commands 2>log & ``` or ```bash -(command here) 2>&1| tee logfile +some_commands 2>&1| tee logfile ``` or ```bash -(command here) 2>&1 >>outfile +some_commands 2>&1 >>outfile ``` //0: standard input; 1: standard output; 2: standard error