[SOLVED] Please suggest how to write a bash script to the requirement provided here
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.
Note: Output files will vary as per the DB RAC nodes.
It would be ok, even if you could give an idea on how to start writing to accomplish the task. I feel this is bit complex to get even started.
Note: Output files will vary as per the DB RAC nodes. It would be ok, even if you could give an idea on how to start writing to accomplish the task. I feel this is bit complex to get even started.
I think we need a new section before newbie's such, can't be arsed. That way we can move all the threads where a person doesn't even attempt to try. (sorry ... just getting a little tired of late
seeing this same scenario raise its head time and again)
I think we need a new section before newbie's such, can't be arsed. That way we can move all the threads where a person doesn't even attempt to try. (sorry ... just getting a little tired of late seeing this same scenario raise its head time and again)
Believe me, you're not alone.
I've suggested before that all new threads get moderated before going onto the board. If five or so moderators with limited access took a forum, you'd be left with a manageable number per-moderator. Couple that with a cookie-cutter response, and posts like this would vanish. Just an email to the OP, saying your post didn't meet the criteria stated at <some link>, re-post it when it does.
I agree. I was realizing that this is in the Newbie forum, the OP is clearly not new to this and they repeatedly ask questions that are, as said, requests for handouts.
I agree. I was realizing that this is in the Newbie forum, the OP is clearly not new to this and they repeatedly ask questions that are, as said, requests for handouts.
I never mind a 'newbie' question, and it can be difficult to learn a new language. Simple things can often snakebite you, and syntax can be fussy with some. Posting a script and saying "I keep getting xxx when this runs, and I can't figure this out!" is the way to go. Posting "I need a script to do xxx" is another.
kingston - whilst we may have all come down a bit hard on you (for me it has been growing over the last week or so for many and not just you), you should be aware by now that if you show what you have tried then you will get all manner of help from all who have replied here. Unfortunately, your current question reads like :- "I can't be bothered so please do my work for me"
This may not have been your intention, but with over 200 posts under your belt you have been around long enough to know that the members here will give you nothing for free without some effort on your end.
I would note that your signature includes the line, Redhat Certified Engineer, now I find it difficult to believe that you cannot provide any example effort on such an easy problem?
I expected this. With due respect, closing this thread as "Solved" I will find a way. Thank you all for your time.
With all due respect, that's what you SHOULD have done from the start. If you had, all of us would have been more than happy to try to help you. But asking for handouts after working with scripts for YEARS, isn't going to get you that help.
Quote:
Originally Posted by grail
I would note that your signature includes the line, Redhat Certified Engineer, now I find it difficult to believe that you cannot provide any example effort on such an easy problem?
....which is EXACTLY why I put so little stock in 'certifications'. There are several on this site who ask things like how to add users, write scripts, and how to partition hard drives, just to name a few.
....which is EXACTLY why I put so little stock in 'certifications'. There are several on this site who ask things like how to add users, write scripts, and how to partition hard drives, just to name a few.
I want to hug you for writing that. There is WAY too much focus on getting a certification, instead of getting your hands dirty and actually DOING stuff and learning from it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.