From da908f10f9d9aaa344e19a20122c1fb64bd4404a Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 6 Apr 2023 13:21:50 +0100 Subject: [PATCH] docs(in-back-ground): removing repetition --- subjects/devops/in-back-ground/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subjects/devops/in-back-ground/README.md b/subjects/devops/in-back-ground/README.md index 43f58dae..ea100aa2 100644 --- a/subjects/devops/in-back-ground/README.md +++ b/subjects/devops/in-back-ground/README.md @@ -8,8 +8,7 @@ Create a script `in-back-ground.sh` which will execute a job in the background t - The output of the cat command will be piped to the `grep` command, which will search for the string `"moon"` in the file. - If the `grep` command succeeds (if it finds the string "moon"): - You will print `"The moon fact was found!"` to the `output.txt` file. If it fails the file `output.txt` is not created. - - You will should also print the line which contains the string to the `stdout`. -- Redirect the `stdout` to a new file `output.txt`. + - You should also print the line which contains the string to the `stdout`. You must do all these steps running only one job and using the command `nohup`!