Computing.Net > Forums > Unix > How 2 find java script used in UNIX

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How 2 find java script used in UNIX

Reply to Message Icon

Name: Mayil
Date: April 29, 2008 at 03:45:35 Pacific
OS: Unix
CPU/Ram: NA
Product: NA
Comment:

hi,

i need to know how to find, which script uses the java in unix in all the directories. Is there any command to find that?

for example: setenv.sh uses java codings

Yasodha



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: April 29, 2008 at 07:38:40 Pacific
Reply:

You can search for strings in unix files using the find command. The following finds the string "java". Change it to fit your requirements:


find /your/directory -type f -exec grep java {} \; -print


0

Response Number 2
Name: Mayil
Date: April 29, 2008 at 21:51:32 Pacific
Reply:

Hi,

Nails thanks for giving the find command.

Mayil


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: How 2 find java script used in UNIX

Where to find c head files in unix system? No content www.computing.net/answers/unix/where-to-find-c-head-files-in-unix-system-no-content/957.html

how to read binary files in Unix www.computing.net/answers/unix/how-to-read-binary-files-in-unix/4566.html

How can I add a switch in Unix? www.computing.net/answers/unix/how-can-i-add-a-switch-in-unix/2177.html