Linux |
Simple Backup Using TAR
Posted on 01/30/2012 |
Use this command to backup all important system data: tar -pcvf /backup.tar /root /home /var /etc Review contents of backup with this command: tar -tvf backup.tar Extract the files using this command: tar -pxf b... Read More...
|
|
Linux |
Clear Memory Cache
Posted on 01/30/2012 |
If you run into a situation where the memory cache needs to be flushed, as root, run the commands below to syncronize changes in memory to hard disk & then clear the memory cache. sync; echo 3 | sudo tee /proc/sys/vm/dr... Read More...
|
|
Linux |
Simple Server Backups
Posted on 01/30/2012 |
If you have spent any amount of time researching how to perform backups on Linux systems, you will find there is a wide array of backup options available. Many solutions require dedicated systems, special applications ... Read More...
|
|
Linux |
Command Line Tricks
Posted on 01/16/2012 |
There are a large number of command line tricks out there for Linux. These are some of the more special things I try to remember. Repeat the last command you just entered !! Repeat the last command you just entered thru ... Read More...
|
|
Linux |
Allow Root GUI Login
Posted on 01/11/2012 |
If you are using a later version of Fedora Linux (such as in Fedora 14), you will find that GUI login to 'root' is no longer allowed from the login screen. It however is possible to re-enable this. You will either nee... Read More...
|
|
Linux |
Block IPs via iptables
Posted on 01/09/2012 |
You will need to run these commands as 'root'. This command blocks IP "123.123.123.123" at the firewall. iptables -I INPUT -s 123.123.123.123 -j DROP This command lists all the IPs currently blocked at the firewall iptab... Read More...
|
|
Linux |
XMMS stops after every song
Posted on 11/18/2011 |
If you setup a playlist and found that XMMS only plays a single song and then stops, there is a solution. After upgrading my pretty much vanilla installation to Fedora 16, I ran across this exact problem. There are 2 thing... Read More...
|
|
Linux |
Wipe/Scrub A Hard Drive
Posted on 08/14/2011 |
If you are a Linux guru, then you may already be aware of the power of the 'dd' command. Other then being used to clone drives/partitons, it can also be used to wipe/scrub hard drives & most removal media (such as ... Read More...
|
|
Linux |
Recursively chmod Files
Posted on 08/13/2011 |
To recursively chmod files only, use this command: find /some/folder -type f -exec chmod 644 {} \; This will recursively search your directory tree (starting at directory ‘folder’) and chmod 644 all files only... Read More...
|
|
Linux |
Recursively chmod Directories
Posted on 08/05/2011 |
To recursively chmod directories only, use this command: find /some/folder -type d -exec chmod 755 {} \; This will recursively search your directory tree (starting at directory ‘folder’) and chmod 755 all direc... Read More...
|
|