aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
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: 11279
    
  59

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can we findout which all files reference to a .config file in a checked out project
 
Similar Threads
IntelliJ Idea saves my you know what.
Creating a Jar with External Jars
System can't find file!!!(URGENT)
Checkout from CVS using Maven
java: Cannot find symbol