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.
I had this question yesterday and after being up 13 hours straight and then going to an interview i completely had a brain lapse and still am having one trying to figure the answer to this.
below is the contents of a file :
BANCA ITALIA IT2920c08378
BANK OF MILAN IT28376152a7
You need to change the IT in the end string to FR without effecting any other IT's within the file.
I straight away thought of a sed statement however since i cant seem to do it.
How would it look it I gave you the whole answer .....
Shaking head, rolling eyes in agreed commiseration.
I seriously doubt that this eentsy, little question was the whole downfall of an interview that was one question away from being a done deal.
Quote:
Originally Posted by syg00
You gotta put in some effort for those interviews ....
@OP perhaps you ought to consider a couple of possible points here, such as why you were up 13 hours straight before this interview. Which is not so amazing when you think about it. Gee, I sleep about 7-8 hours per night, therefore I'm "up" for 16 or more hours per day. Pretty much we ALL are.
If you had to pull an all night study session for some interview, then you aren't qualified for the job.
If the reason instead was because you stayed up late due to some other reason, then whatever kept you up late was obviously more important to you.
Either case, a lack of sleep is not the end of the world, your abilities did not suddenly disappear because you had a difficult preceding day and night before this interview. One little question does not break an interview.
I submit that most interviewers, especially if they feel a person is competent and happened to ask that question of you, and your response was "I'm thinking that I'd use sed for this, but the exact syntax escapes me right now, I'd have to work that through on a terminal or re-look up my regular expressions to get it right, but I do realize the problem here is that the search term appears in areas beyond the intended change points ...", in that case I feel a forgiving interviewer who already feels you're pretty close to being qualified, would let that one slide. I'm thinking here that you were always a stretch for this particular job and not being able to answer this question was just one more brick in the wall.
HMW, it was nice of you to provide a way. Can you also explain it?
I'm not for or against full answers. To each their own. I'd teach younger people by having them do some work however. It doesn't seem mean to me to have a user work a bit.
This is a typically stupid interview question.
Why would you want to change the country code of two Italian banks to France?
They obviously couldn't be bothered to formulate a realistic situation.
I never ask "canned" questions. Instead I ask the person to describe what they've worked on. Be they student or someone who has worked, they've typically done a project of some type, which they should be able to describe well enough to me to convince me that they understand what they've done.
Death therefore is to have a primary talent highlighted on your resume and know absolutely zip about it. Which of course NEVER happens!
I've a list of 50 "canned" questions, 23 of which get asked in a telephone interview that should take no more than 20 minutes. Candidates get graded 0 to 5 depending on their answer, the time taken, the way the answer is communicated etc. I use this method to pre-screen candidates before a face-to-face, where the other questions may or may not get asked.
If the candidate gets more than 50 at 3 or above they stand a good chance of getting brought in for a more conventional face-to-face where we talk about experience, projects and do a drill-down.
I've had several people apply for operations admin jobs that have scored extremely low on the first 23 questions, including one guy that answered 20 out of the 23 with "I don't know".
Each company and each interviewer has their own methods.
The question goes to the ability to write regular expressions.
An additional finesse would be to use the sed capability to match an exact number of sequences.
I've a list of 50 "canned" questions, 23 of which get asked in a telephone interview that should take no more than 20 minutes. Candidates get graded 0 to 5 depending on their answer, the time taken, the way the answer is communicated etc. I use this method to pre-screen candidates before a face-to-face, where the other questions may or may not get asked.
If the candidate gets more than 50 at 3 or above they stand a good chance of getting brought in for a more conventional face-to-face where we talk about experience, projects and do a drill-down.
I've had several people apply for operations admin jobs that have scored extremely low on the first 23 questions, including one guy that answered 20 out of the 23 with "I don't know".
Each company and each interviewer has their own methods.
You're evil! (Making devil sign with my hand and hissing)
OK sorry, no offense intended. I really am joking and actually DO understand how that is applicable for your situation and the jobs you interview people for.
My situation has always been R&D. New college hires know nothing, but what they've studied. They need to at least talk about their theory courses enough to convince me that they really are a B.S.E.E. student.
For everyone else, you've worked on "something", and if you can't even talk about that, then "get outta my face".
one guy that answered 20 out of the 23 with "I don't know".
Which is a perfectly acceptable answer in my book, (but 20/23? that's Scary). One has to know what he doesn't know and be able to admit it.
Also knowing when one doesn't know is a good thing.
"I don't know, but I can find out" has been my answer to some Interview Questions in the past.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.