Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
anyone know what sort command I'l use to search multiple files (like over 50 or so) for a particular string.
I'm trying to track down where a command is coming from and need to search lots and lots of files cause I've looked in all the ones I thought it'd come from but can't find it.. A boot script to do with setting up the network card it what gives it during the boot process but the script nor the functions file contain it.. its just too weird for me..
That wouldn't search within files would it? correct me if I'm wrong but is that listing a dir, sending the output to grep and grep searches the list for the string then displays it on screen? so your displaying file names..
I'm thinking (at work at the mo) of just going
grep -r Intervention *
and I'm hoping that'll search every file on the partition (I'm trying to troubleshoot LFS so its not that big of a partition) to location whats calling this strange word. Does that sound right, I know its a long and painful way to try it but its all I can think of since I have no idea whats trying to call it..or would that not do it? or was I wrong in what your command meant?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.