Comments on: How to Find a Specific String or Word in Files and Directories https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 02:53:41 +0000 hourly 1 By: Aaron Kili https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/comment-page-1/#comment-1433107 Thu, 11 Feb 2021 09:59:14 +0000 https://www.tecmint.com/?p=28156#comment-1433107 In reply to Andy.

@Andy

Yes, first try out the solution in the guide, it should work. If not then give us feedback, we will help you.

]]>
By: Andy https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/comment-page-1/#comment-1432860 Thu, 11 Feb 2021 02:41:49 +0000 https://www.tecmint.com/?p=28156#comment-1432860 Hi, Great info here.

I’m a complete newbie to Linux, but I have a co-worker helping me out. Unfortunately, none of his solutions are working yet.

I need to search logs to find Windows logon/logoff data within a date range. This is what he’s given me so far, but it’s been running for two hours with no data returned.

# find /var/log/remote3 -type f -newermt 2019-03-01 -print0 | xargs -0 zgrep
--color=always -e 4624 -e 4634 | zgrep --color=always -i 

What do you think?

It seems your solution above is MUCH easier. I will try that once this string stops/fails/disconnects…

Thank you,

]]>
By: Rajprasad https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/comment-page-1/#comment-1370009 Sat, 03 Oct 2020 13:36:09 +0000 https://www.tecmint.com/?p=28156#comment-1370009 Hi,

I need to search a particular string in the entire server and exclude the link files. Once find the string replace with a new string. I need a shell script for this.

Thanks
Raj

]]>
By: Aaron Kili https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/comment-page-1/#comment-1321684 Mon, 16 Mar 2020 19:37:21 +0000 https://www.tecmint.com/?p=28156#comment-1321684 In reply to nizam.

@nizam

You can try any of the four ways in this guide: https://www.tecmint.com/run-commands-on-multiple-linux-servers/

]]>
By: nizam https://www.tecmint.com/find-a-specific-string-or-word-in-files-and-directories/comment-page-1/#comment-1321373 Sun, 15 Mar 2020 09:25:04 +0000 https://www.tecmint.com/?p=28156#comment-1321373 Thanks for the wonderful post if I want to search keywords on all the Linux servers how do I make?

]]>