Control Character Commands
^ h
Backspace.
^ d
End text input, EOF for mail, write
(also acts as logout command).
^ w
Delete last word typed.
^ u
Delete (undo) last line typed.
^ r
Repeat last line typed.
^ s
Stop the screen from scrolling
(sometimes takes a while to be effective).
^ q
Unlock terminal screen, continue scrolling.
^ c
Interrupt running program ([Del] in System V).
^ z
Suspend running program, and […]
Archive for October, 2008
A query is considered as slow if it takes more than “long_query_time” seconds to execute. By default, the value of this variable is set to “1″.
1). Identifying MySQL slow queries
************************************
First let’s check on the mysql server if we have slow query logging enabled:
mysqladmin var |grep log_slow_queries | log_slow_queries | OFF
2) . Activate the logging of […]
With FreeBSD 5.4 and above the booting procedure is slightly changed. Under ilder version of FreeBSD use boot -s option at Ok prompt.
However, with version FreeBSD 5.4+ you don’t have to type any command. Here is the procedure to boot FreeBSD into a single user mode to reset root password.
In this tip I will explain […]
This tutorial will explain how to upgrade Ubuntu Server from Feisty to Hardy
Step 1: Feisty to Gusty Upgrade
first be sure your feisty up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
if everything ok, ready for upgrade to gusty.
nano /etc/apt/source.list
all change “feisty” to “gutsy”
save and exit (ctrl-x, yes)
sudo apt-get update
sudo apt-get dist-upgrade
(one package doesn’t upgrade : mailscanner
but this […]
It is possible to create network alias or assign 2 ip address to a single NIC under FreeBSD operating system.
Sample setup:
=> lnc0 - IP : 192.168.1.1/255.255.255.0
=>lnc0 alias - IP : 192.168.1.5/255.255.255.255
Note: Netmask must be diffrent otherwise you will get an error ifconfig: ioctl (SIOCAIFADDR): File exists
Set ip alias using ifconfig command line utility
Login as the […]