Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > Linux Help

Linux Help Post any question relating to Linux here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-08-09, 05:31 PM
Junior Member
 
Join Date: Aug 2007
Posts: 1
altafshagu is on a distinguished road
Default linux red hat command

hello
i m just a learner of linux command. I have a linux server and the server is full, there is no space for my user to print how do i make some space on the server what is the command to view the files that are taking big space, like temporary files and like that and what is the command to delete those unnecessary files to make some space.

Thanks.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2007-10-31, 10:09 AM
Xnuiem's Avatar
Senior Member
 
Join Date: May 2004
Location: DFW, Texas
Posts: 1,104
Xnuiem will become famous soon enough
Send a message via Yahoo to Xnuiem
Default

Go check out /tmp or /usr/tmp for files that could probably leave without an issue.

df -h will show you a little bit.
and rm deletes.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Reply With Quote
  #3 (permalink)  
Old 2007-12-09, 07:15 AM
Senior Member
 
Join Date: Dec 2004
Posts: 199
strasm is an unknown quantity at this point
Default

I like to use du for this. to get the command just how you want it check the man pages. I think the syntax for depth is different for on some versions. On mine I would use something like this:

Code:
du -h -d=2 /Path/to/directory/
This will look 2 directories deep and make sizes human readable.
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:07 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.