|
Showing: 1-15 of 15
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...
|
|
 |
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...
|
|
 |
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 |
02/07/2012 |
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 |
02/07/2012 |
Comments: 0 |
|
|
 |
Some find examples for excluding a directory, and executing commands?
Here are some unix find command examples to for finding and excluding files, running commands, etc.
1. Find files and exclude...
|
|
| Not rated |
02/07/2012 |
Comments: 0 |
|
|
 |
Useful script to track spammers connecting to your server?
The netstat command is useful to see who's making connections on your server. This can be useful if your server...
|
|
| Not rated |
02/07/2012 |
Comments: 0 |
|
|
 |
How can I turn off / view my linux firewall using iptables?
Some linux systems come with a default firewall turned on - you can see the list of rules being enforeced...
|
|
| Not rated |
02/07/2012 |
Comments: 0 |
|
|
 |
How can I split a bit tar file into multiple small files?
Sometimes you need to tar up a large amount of data, and the resulting file is just too big. Here's...
|
|
| Not rated |
02/07/2012 |
Comments: 0 |
|
|
 |
How can I exclude some files / directories from a tar file?
You can exclude files or directories from a tar file like so:
tar -cvf x.tgz /home/user/ --exclude "/home/user/logs"
...
|
|
| Not rated |
02/07/2012 |
Comments: 0 |
|
|