Lampwrights Forum > Linux, Apache, MySQL, PHP > Linux
Register Community Today's Posts Search

Reply
 
Thread Tools
04-26-2011, 09:01 AM   #1
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Using Linux find to find files and show attributes

Sometimes you need to search for particular files and show their attributes in the results. Here is an easy way to do it:

Code:
find . -name somefile.xml | awk '{ print "ls -l "$1 }' | sh
Enjoy!
Jeff is offline   Reply With Quote

Reply

Tags

linux administration

,

linux how-to



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comments Don't Show and Header Messes Up Ryfje vBulletin Wordpress Bridge 1 03-21-2011 06:59 AM


All times are GMT -4. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.