File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes How can we findout which all files reference to a .config file in a checked out project Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "How can we findout which all files reference to a .config file in a checked out project " Watch "How can we findout which all files reference to a .config file in a checked out project " New topic
Author

How can we findout which all files reference to a .config file in a checked out project

Gangam Mekerira
Greenhorn

Joined: Sep 07, 2011
Posts: 4

I'm very new to unix
I have a checked project , there exists a file called xxx.config .
now my task is to find all the files in the checked out project which references to this xxx.config file.
how do i use grep or find command .
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 9982

You almost certainly want to find out about the man pages. They will give you documentation on how to run most standard commands on Unix, including grep.

Take a look at that page, and try to work out what a suitable grep command would be - we can then help you from that point onwards. You should not need the find command (unless this is a school project (for some reason, some schools insist on using the two in combination, even though it is redundant and bad practice)).


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Gangam Mekerira
Greenhorn

Joined: Sep 07, 2011
Posts: 4
Thank you
 
 
subject: How can we findout which all files reference to a .config file in a checked out project
 
Threads others viewed
java: Cannot find symbol
Creating a Jar with External Jars
IntelliJ Idea saves my you know what.
System can't find file!!!(URGENT)
Checkout from CVS using Maven
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture