Technology TidBits

Answers to various technical questions on php programming, mysql, linux, and many more categories.



Showing: 1-10 of 10  
Questions:
How can I find out what is taking up all the space on my Linux server?
Use the "du" command.  You will need shell access to do this.  Assuming you want to track down space used...
rating 07/01/2009 Comments: 0
How can I use 'find' to execute commands on all files found?
Here's a simple find command which executes a gzip on each result.  Just put {} where the resulting files should...
Not rated 07/01/2009 Comments: 0
How do I figure out how many processors and the speeds, etc. are in my Linux box?
Try this: cat /proc/cpuinfo Note - there are some other useful files in /proc: /proc/devices - lists devices such as...
Not rated 07/01/2009 Comments: 0
How can I remove DOS linebreaks (^M) from my files?
Oh, the dreaded ^M - these usually occur when uploading files from a windows system, using ascii mode.  Some Windows...
rating 07/03/2009 Comments: 0
How can I mirror / backup a set of files via ncftp?
Often times it's useful to mirror data from a production server to your local computer, or another server.  I've done...
Not rated 06/24/2009 Comments: 0
My hostname keeps reverting to localhost (or localhost.localdomain) - how can I permanently fix this?
This problem is becoming more of an issue because so many mail server anti-SPAM techniques check for proper "HELO" settings...
Not rated 06/29/2009 Comments: 0
How can I determine if iptables is blocking traffic to my site?
On some Linux systems, a built-in firewall known as "iptables" is enabled.  This keeps novice or lazy users from opening...
Not rated 06/30/2009 Comments: 0
Why does my ftp file listing stop at 2000 files?
Some ftp servers limit how many files will display as the result of an "ls" command.  This is to limit...
Not rated 07/03/2009 Comments: 0
How can I relocate files from a tar archive with extracting the files?
When you are extracting data from a tar archive, sometimes you want to relocate the files, here's the way to...
Not rated 09/04/2010 Comments: 0
How can I get a list of files most recently updated / edited?
On a unix / linux system run this command: # ls -lt This will list the files in the current...
Not rated 09/04/2010 Comments: 0



Powered by KnowledgebasePublisher 1.1
Superb Internet
Content provided by Roberts WebForge, Inc.