We help IT Professionals succeed at work.
Get Started

combining commands in terminal  find and grep any ideas

woodsy51 asked
Last Modified: 2013-12-16
Hi All,
have been trying all day to get this working.

I am trying to get a list of all the versions of Joomla on my server and would like a list like this below

/home/mysite/public_html/libraries/joomla/version.php var $DEV_LEVEL       = '15';

Has anyone got a clue on how to achieve this

so far i can get these to work
root@srv01 [/home]# cat /home/*/public_html/libraries/joomla/version.php | grep 'var $DEV_LEVEL'
this resolves to
var $DEV_LEVEL       = '15';

root@srv01 [/home]# find  /home/*/public_html/libraries/joomla/ -name "version.php" -print
this resolves to

thanks in advance
Watch Question
Top Expert 2007
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE