How to list the contents or files from a tar.gz file

tar -tvzf tarfile.tar.gz non gzip file: tar -tfv tarfile.tar


How do I re-enable Ctrl+Alt+Backspace?

If you don’t want to use a user interface to change the effect of Ctrl+Alt+Backspace in any flavour of Ubuntu you can follow these steps: 1) Install the “dontzap” package sudo apt-get install dontzap 2) Open Terminal or Konsole and type: sudo dontzap –enable or sudo dontzap –disable Where “disable” means that Ctrl+Alt+Backspace restarts the…


vpsinfo : server status in your browser

from http://www.labradordata.ca/home/13 vpsinfo is a Linux server monitoring script, written in PHP, that provides web access to system status information. It gathers the output from several common Linux commands into one web page, providing a quick overview of the system’s current state. While designed for use on a Linux Virtuozzo or OpenVZ VPS (Virtual Private…


Running Your Own RBL DNS Blacklist

Ever notice how the public RBL databases aren’t enough? spamcop and spamhaus are great, but there are spammers still getting through. Did you ever want to do it yourself? This procedure explains how to run your own RBL DNS Blacklist. It uses a mysql table to store the IP address you want to blacklist and…


Compile an Ubuntu 9.04 Kernel

Compile an Ubuntu 9.04 Kernel The purpose of this tutorial is to show you how to set up a kernel that is highly tuned for your CPU, in this case a Pentium 4 with hyperthreading for a workstation. Caution: If you do something wrong..it happens…be sure to reboot and select an alternative kernel. You should…


Syntax for Secure Copy (scp)

What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. Examples Copy the file “foobar.txt” from a remote host to the local host scp [email protected]:foobar.txt /some/local/directory Copy the file “foobar.txt” from…


How do I get started with Linux?

I have been asked how does one enter the fruitful land of Linux, well, in a nutshell here it is; 1. Download you favorite iso image from Distrowatch.com. 2. Burn the iso file to a CD using your favorite CD burning software. Remember to burn the .iso using the “Burn image to CD” option or…


28 Coolest Firefox About:Config Tricks

28 Coolest Firefox About:Config Tricks


Change Default crontab editor CentOS

  I was working on some sysadmin tasks on a freshly installed server, and I found out the crontab editor was not what I expected it to be. I really like vi (or vim) for command line editing, so I wanted ‘crontab -e’ to use vim instead of something else. To make that happen, I…


Windows Bash Prompt

export PS1=’C:${PWD//\//\\\}>’