![]() |
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 |
| find explantion needed | shary | Shell Programming and Scripting | 3 | 08-05-2007 11:27 AM |
| FIND and REMOVE HELP NEEDED!!! | scooter17 | UNIX for Dummies Questions & Answers | 3 | 09-19-2006 02:42 AM |
| Find and Remove help needed!!!! | scooter17 | UNIX for Dummies Questions & Answers | 1 | 09-15-2006 02:26 AM |
| Find and Replace code help needed | E Orgill | UNIX for Dummies Questions & Answers | 2 | 08-24-2005 03:05 AM |
| help on find with chmod.. urgent help needed | sdlayeeq | UNIX for Advanced & Expert Users | 4 | 03-28-2005 11:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help needed with find command
Hi Guys,
Can someone help with this. I have to find out a file name which calls the following sql script "abhishek_to_sdw.sql". In other words it contains a pattern like "abhishek_to_sdw.sql". I have found out using "find" command that the file abhishek_to_sdw.sql is existing on the server. Please help me in this. Regards, Abhi |
|
||||
|
I have a sql script (abhishek_to_sdw.sql) which is called by some unix shell script file. I dont know which shell script calls this sql script and I want to find that shell script.
Please help me how to find a file with a pattern. which in this case is "abhishek_to_sdw.sql". Regards, Abhi |
|
||||
|
If your grep understands the -r flag, just use that.
Code:
fgrep -r abishek_to_sdw.sql / Code:
find / -type f -exec fgrep abishek_to_sdw.sql /dev/null {} \;
Code:
find / -type f -print0 | xargs -r0 fgrep abishek_to_sdw.sql |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|