![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search for Files that DONT contain a string | tonydsam | UNIX for Dummies Questions & Answers | 13 | 05-27-2009 01:19 AM |
| What is the Best way to search files for a string?? | 35Soinc | UNIX for Dummies Questions & Answers | 15 | 03-25-2008 04:34 PM |
| change files permission on Remote machine | almeisan1 | Shell Programming and Scripting | 1 | 10-05-2006 12:03 PM |
| Searching for files in Remote Machine | matrixmadhan | UNIX for Dummies Questions & Answers | 0 | 06-21-2005 05:02 AM |
| Search all files for specific string | sureshy | UNIX for Dummies Questions & Answers | 4 | 03-06-2002 12:28 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Search files for a string in the remote machine
Hi all,
I want to search the files in a remote machine for a particular string. The SSH command I wrote is giving an error even when the syntax is correct. ssh user@hostmachine find . -name "*.txt" -exec grep "ARIVU" '{}' \; The error it gives is find: missing argument to `-exec' When the following command is executed on a local machine, it is working fine find . -name "*.txt" -exec grep "ARIVU" '{}' \; Please let me know where I'm wrong.... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|