Originally Posted by pixellany
I think it is---the title in quotes is the sure-fire clue.
Some say that the rules here don't allow homework, but that is not what they say. The wording is "don't expect us to help you" (or something like that)
My rule is that I will help if the OP gives some evidence of already doing some work---and already knowing something. This one is borderline.
someday, I would like to see the histogram for all LQ members--showing the number of posts. This histogram will surely have a big spike at 1. In my experience, many homework posters post once only and are never heard from again.
I agree with all of those things. After I posted the question I checked the actual rule (I had previously seen it referred to, but I didn't know exactly what it said).
I suppose if somethings for someone's homework it's probably OK to tell them the names of programs which might help, atleast directing them to the documentation.
I guess there's some middle ground. I don't want to put people off by making them think the Linux community is unhelpful, but I think it's right not to just hand out homework solutions.
So, amarjyoti, have a look at the manual pages for these programs:
df, du, who, w and last.
QT is a nice framework for writing GUI apps. You can use it for non-GUI apps. I like it. It's nice with python as the language - pyqt is great.