From 6333086f2d380775d588d9ff6d253e698e7fc731 Mon Sep 17 00:00:00 2001 From: Sagar Kar Date: Fri, 22 Feb 2019 15:55:34 +0530 Subject: [PATCH] Update README.md Added the absolute path format to `find` command --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 84d9d38..e0e8d41 100644 --- a/README.md +++ b/README.md @@ -1276,6 +1276,12 @@ find . -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- find . -not -path '*/\.git*' -type f -print0 | xargs -0 sed -i 's/foo/bar/g' ``` +###### find with the absolute path shown and may be grep for something + +```bash +find $(pwd) | grep -i myfile +``` + ___ ##### Tool: [top](https://en.wikipedia.org/wiki/Top_(software))