From b15be6792805e948c8bdacfa5b0ebda68a121a26 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 9 Feb 2021 21:57:42 +0200 Subject: [PATCH] linux --- hybrid-linux/find_and_grep.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hybrid-linux/find_and_grep.adoc b/hybrid-linux/find_and_grep.adoc index 3dd4fd2..4614771 100644 --- a/hybrid-linux/find_and_grep.adoc +++ b/hybrid-linux/find_and_grep.adoc @@ -69,6 +69,7 @@ NOTE: This can be interpreted as + TIP: Very powerful in bash scripts create a file test.sh + .bash script [source,bash] ---- @@ -76,7 +77,8 @@ create a file test.sh STRING=$(find /etc -name "*.conf" -exec grep -Hns "conf" {} \;) echo $STRING ---- -exec it +exec it + .bash script [source,bash] ----