Shell script problem
1
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.
2
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.
3
Name:
Anonymous
2010-11-03 16:26
Why would you make another thread about this? Everything has already been answered.
4
Name:
Anonymous
2010-11-03 16:26
Hello.
I tried with du and cut but I would like to try something else.
Why?
5
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.
6
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
7
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.
8
Name:
Anonymous
2010-11-03 16:38
9
Name:
Anonymous
2010-11-03 16:45
I hope to become my anus
10
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.