The quota command
quota -v
Shows current disk usage and limits. The above is not true in my Linux. I have Mandrake Linux 10.0 version. Please read the following. Why is this? [ka@c83-250-88-242 ka]$ quota bash: quota: command not found [ka@c83-250-88-242 ka]$ [ka@c83-250-88-242 ka]$ quota -v bash: quota: command not found [ka@c83-250-88-242 ka]$ |
Either its not in your path or you don't have quota tools installed, etc.
locate quota |
Thanks for the reply. What is the meaning of the following?
[ka@c83-250-88-242 ka]$ locate quota warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory warning: You need to run the 'updatedb' command (as root) to create the database. [ka@c83-250-88-242 ka]$ |
And I quote:
"You need to run the 'updatedb' command (as root) to create the database." ;) |
Quote:
However, since quota usually is installed in /usr/bin I doubt it's a problem with your PATH variable. So most likely you don't have quota installed on your system. |
I ran the command for no avail. What is the problem? The following is the output.
[root@c83-250-88-242 ka]# updatedb [root@c83-250-88-242 ka]# |
There is no output because silence is golden, and it worked, so now run your original command and you should be good to go.
|
No it didn't work. Please read the following output. I tried even as a root user. What is the problem?
[ka@c83-250-88-242 ka]$ quota -v bash: quota: command not found [ka@c83-250-88-242 ka]$ quota bash: quota: command not found [ka@c83-250-88-242 ka]$ su root Password: [root@c83-250-88-242 ka]# quota bash: quota: command not found [root@c83-250-88-242 ka]# updatedb [root@c83-250-88-242 ka]# quota bash: quota: command not found [root@c83-250-88-242 ka]# |
No, I mean the updatedb command worked. As the above poster had said, it seems like you don't have quota installed (as you can tell from "bash: quota: command not found". So go install it, then run it again.
|
Vgui
Could you please tell me where to find it? You could tell me a site to download or some other solution? |
I don't follow the packaging system of Mandrake [Mandriva] (which you say you are running in your profile), but I had thought they had some tool to get rpms from a central repository? You might want to check out the Mandriva docs, sorry I can't be more help :(
But yeah, once you find an rpm of quota, you can just install that and rerun quota and it should work. |
Vgui
This is a tall order for me. I tried in vain to find out anything of the name 'quota' in Madriva related sites. I don't know what to do. |
Okay, I looked a little hard to try to help you out. I found a fairly good site at http://rpm.pbone.net/
From a search, I came up with: http://rpm.pbone.net/index.php3/stat....i586.rpm.html http://rpm.pbone.net/index.php3/stat....i586.rpm.html http://rpm.pbone.net/index.php3/stat....i586.rpm.html http://rpm.pbone.net/index.php3/stat....i586.rpm.html Those should all be for Mandrake / Mandriva 10, which as I said I assume you are using (right?). Hopefully one of those links has what you need. Remember, to install rpms it is the following command (as root): Code:
rpm -ivh quota-bla-bla.rpm |
Also, you might want to look into urpmi / easy urpmi, it is some sort of GUI tool for installing RPMs from a Mandriva repository. If it sounds interesting, check out:
http://nanardon.homelinux.org/urpmi.setup/ http://easyurpmi.zarb.org/ http://www.urpmi.org/ Hopefully that would stop you from needing to hunt down individual rpms. I don't know tons about Mandriva though, but I imagine if you talked to an advanced Mandriva user they could help you a lot more, especially with getting easy install RPMs setup and all that. |
Vgui
I profoundly appreciate all you did to help me. You don't have any obligation to search on my behalf. It was very kind of you. I will come back to you later on. |
All times are GMT -5. The time now is 05:47 PM. |