Thread closed when learner has tried

I'm not so sure that this thread should have been closed. Though it was clearly homework the student was asking a specific question related to the assignment, but not the answer to the whole assignment.
/www.unix.com/unix-dummies-questions-answers/107494-how-get-rid.html .
IMHO The solution is not trivial and would help this and other students.

Posting homework is a direct violation of the terms of services (rules) of these forums.