difference

How to run a PHP script on cron

Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, “How to run PHP Scripts with crontab?” Cron is normally available on all Unix and Linux distributions; if [...]

How to install BIND 9.3.x on FreeBSD

FreeBSD 4.x and 5.1 ships with BIND version 8.x as the default or base installation. FreeBSD 5.3 – the first of the stable 5.x series – ships with BIND 9.3.0 and some annoying traits. FreeBSD 6.2 ships with BIND 9.4.1 as the base installation. FreeBSD differentiates between a base DNS install and a normal DNS [...]

How to Clear the screen on logout – Linux

If you have an account on a server and using this from a public place, like an internet cafe or an university you probably want to make sure that nobody is able to read the leftovers from your session. To archieve this, add the command “clear” to the end of “~/.bash_logout“. To make sure there [...]

How to Configure a DHCP Server – FreeBSD system

Unlike the built-in dhclient, your FreeBSD system does not come with DHCP server software. This is because you only need to configure a DHCP server if you want to lease out IP configuration for your own network. However, there are two ports that allow you to create your own DHCP server. The first is known [...]

How to remove a Trojan, Virus, Worm, or other Malware.

If you use a computer, read the newspaper, or watch the news, you will know about computer viruses or other malware. These are those malicious programs that once they infect your machine will start causing havoc on your computer. What many people do not know is that there are many different types of infections that [...]

Understanding DAS,NAS and SAN.

While one type of storage media is usually sufficient for smaller companies, large enterprises will often have a mixed storage environment, implementing different mediums for specific departments, workgroups and remote offices. In this paper, we will provide an overview of DAS, NAS and SAN to help you determine which solution, or combination of solutions, will best help you achieve your business goals

How to improve DNS lookups by using multiple nameservers

This tip shows you how to improve DNS lookups by using multiple nameservers. This is useful if you’ve ever had your primary DNS server become unreachable for any reason.

Windows Registry Hacks

This document assumes working knowledge of the Windows Registry. It is possible to render your computer useless by incorrectly modifying the Registry. Caution is advised… Settings pertaining to Windows NT will say Win NT. All others refer to Win9x 1.    Remove unwanted items from Control Panel | Add/Remove programs 2.    Changing Icons for Desktop Items [...]

How to check Windows NT, 2000, and XP Computers (workstations and servers) for missing security fixes.

Hfnetchk.exe – Is a utility from Microsoft that checks Windows NT, 2000, and XP Computers (workstations and servers) for missing security fixes.  It is a command line utility that is run from a command prompt.  For a full description of Hfnetchk see the MS links below. Note: A company called Shavlik Technologies is the company [...]

50 quick linux command tips part 3

1. How to know which ports are listening from your IP address? # nmap -sT -O your-ip-address 2. How to grep an exact match? # grep -w textfile.txt 3. How to reverse grep matches? # grep -v textfile.txt # 4. How to know which service name is what port? Assuming port 443 # cat testfile.txt [...]

How to Sync date and time via NTP server

Syncronizing your current date and time is as important as making database backups. Without proper accurate stamped date and time, any backup file with any stamped date on it would be meaningless. Without correct time and date, those scripts that depend on date and time schedule would be executed inaccurately and would give you result [...]

How to monitor large mailbox users

Monitoring mailbox users can be done in many serveral ways via web interface or via terminal or via bash scripts. With the usual mbox type emails, incoming new email messages are automatically redirected to each users’ own spool file. This spool mail is by default located and stored in /var/spool/mail. From there, the spool file [...]

How to block yahoo chat messenger

A very old tip and trick on blocking yahoo chat messenger from connecting to internet, as per request. Considering an approved management policies, there are several ways to block yahoo chat messenger from connecting to internet coming from inside your network, depending on what equipment and boxes you have on ground. If you happen to [...]

How to take Linux backups powered by Tar

This document entry however covers a foundation approach and mostly used tar arguments on backing up data using the linux command tar. ============================================= Data backup samples using Tar Linux command ============================================= A very simple usage of tar # tar cvf backup.tar * Legend: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c create a new tar file -v verbose mode -f select [...]

How to take Linux backups powered by Rsync

RSync backups data and does it very clean and well. Rsync only transfers those data that have been modified and changed so that the destination host has an exact replica from the source host. Rysnc is a command line backup tool that handles data transfers in an effective and secure manner like any other known [...]