Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
do i combine both find to find the file first and then grep to find the name i want from within the file?!!!
because i tried grep and i couldnt get the syntax right
The typical approach involves a loop which goes through a set of files and then calls grep for each filename. But first, make usre you are comfortable with the individual commands---show us an example of what you were trying with grep, and what the problem is.
"find" is used to find a file based on some attribute--including name, modification history, etc.
"grep" is used to find things inside one specific file.
Read the man pages for both of these and try things until you are comfortable with each command.
onebuck, why do you keep posting so many links on every thread? New people are going to show up here all the time, you're going to have 50,000 posts with 5,000,000 links. Keep it simple.
Besides that, "how to ask questions the smart way" is already in your signature. This is the second thread I've opened in newbie within 5 minutes where you've double posted your signature and links.
onebuck, why do you keep posting so many links on every thread? New people are going to show up here all the time, you're going to have 50,000 posts with 5,000,000 links. Keep it simple.
Besides that, "how to ask questions the smart way" is already in your signature. This is the second thread I've opened in newbie within 5 minutes where you've double posted your signature and links.
You post in the manner that abides by the LQ rules as I will continue. If you feel that my recommendations are not proper that's your opinion. I will continue to post the information as I see warranted.
No violation of the LQ rules.
As for the separation of the link within my signature. That is to point out helpful informational statements. Again one form of communication. You don't have to read what I post. So get over it!
Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private e-mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes.
Quote:
Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.