LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-13-2005, 01:36 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
Search text in files remotely


Hi

My friend is getting comlpaints from his service provider that his server is sending some spam mails.

SMTP port is blocked.

I would like to know how do I search all file (php, html, htm, php3) remotely that contain the phrase [b]mail([b] ?

Downloading all of it would take time.

Im using FileZilla.
Server OS : Redhat.
Control Panel : CPanelX

Thanks
 
Old 08-13-2005, 03:44 AM   #2
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
ssh and grep

I believe the easiest way would be to log on to the server through ssh or telnet, and then use the grep program.
 
Old 08-15-2005, 10:03 AM   #3
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks.

BTW, isnt Subscribed Threads working properly ? I never get a mail from LQ when someone replies even though my default status is Instant Notification.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert DOS text files to UNIX text files ta0kira Linux - Software 7 03-15-2011 12:42 PM
How to search and replace a text using grep DediPlace Linux - General 2 05-29-2005 07:47 PM
Search all text files? nextekcarl Linux - General 4 10-20-2004 01:18 PM
what tool can search for documents containing certain text? jacksonscottsly Linux - Software 3 07-19-2004 02:44 AM
How do you search for a file in text mode? cyberkid12 Linux - General 7 12-21-2002 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration