Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Shell script problem

Name: Anonymous 2010-11-03 16:20

Hello,

I would like to create a Shell script that shows the disk space used by each users.

I would like to show it like this:

UserName1 : disk space used
UserName2 : disk space used
Username3 : disk space used

I tried with du and cut but I would like to try something else. Thank you.

Name: Anonymous 2010-11-03 16:23

Go buy a copy of Perl for System Administrators (or Python for.. if you prefer). Read it and do the examples.

Do not return again until you've done your homework, son.

Name: Anonymous 2010-11-03 16:26

Why would you make another thread about this? Everything has already been answered.

Name: Anonymous 2010-11-03 16:26

Hello.

I tried with du and cut but I would like to try something else.
Why?

Name: Anonymous 2010-11-03 16:27

Your son is a girl studying in computer science. This is a homework for the linux class. Nobody found the answer yet and it's for next week. 

I can do it by doing du on passwd and by using cut. But I feel like it's not the way that the teacher wants.

Name: Anonymous 2010-11-03 16:30

>>5
If you are studying in computer science, you either already are or you become a male. NO EXCEPTIONS

du on passwd
what

Name: Anonymous 2010-11-03 16:35

>>6

I meant home.  But it's alright. I found the answer. :) 

Thank you. I hope to become good as you all. I still need more practice.

Name: Anonymous 2010-11-03 16:38

Name: Anonymous 2010-11-03 16:45

I hope to become my anus

Name: Anonymous 2010-11-03 16:48

If you have a multi-user system, it makes sense to have a multi-server system, and for that to work you need to decentralise user accounts onto separate partitions, and then you only have to use df.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List