Grad student overseeing (undergrad) student: how much to help? This summer I'm lucky to have an undergrad extending some work I did for my thesis.

The stuff I work on requires you to use complicated software, as well as strong familiarity with Linux commands. However, these have nothing to do with the work itself; it's just the "scaffolding" needed for us to do our actual research.

Since the start of the summer term, I've been encouraging this student to ask for my help they encounter difficulty with these "unrelated" aspects of the work. However, I'm wondering if this is actually counterproductive?

Here's the theory: though more frustrating for them, would it be better to force the student to "figure it out"? These are useful skills, after all, and maybe this will make their work more productive in the long run?

In other words, I have two opposite choices:


Trying to reduce the student's time spent on fiddling with Linux commands and our development software (at the cost of of my own time)
Forcing the student to become more familiar with these tools (but potentially running out of time) 


What is the "accepted wisdom" in this situation?
This is focused on the educator aspect of it. 

The goal should be to do as little as possible but help the student from getting stuck. Said another way, when asked for help, first try to figure out the crux of their problem and then give them enough of a hint (but not an answer) so that they can have an a-ha  moment and get some enlightenment. It isn't easy and it takes practice, but that is the goal. 

Sometimes you answer a question with another question. Sometimes you "solve" a problem by giving them a simpler problem. Sometimes you just ask them to explain it to you as best they can. Sometimes you point them to a page in a book (or similar). If you give them answers they will start to depend on you rather than on themselves. 

Listen, as they ask questions, to see if they have some misconception that underlies the current issue. If you can dispel those, there is a better chance that they can move forward on their own with more confidence. 

So, if the student is to learn they need both reinforcement and feedback. Reinforcement implies repetition and should come from them. Feedback comes from you. But the work needs to be theirs. Answers have little learning value. 

And yes, it is hard and takes practice.