How to use strace on linux

strace -f -o my.x  app

How to add new user in MySql

login as root:

>mysql  -u root -p

>*******

mysql>GRANT ALL PRIVILEGES ON *.* TO 'cooluser'@'localhost'

             IDENTIFIED BY 'some_pass' WITH GRANT OPTION;

find out the size of directory in Linux

what command to use to find out the size of directory in linux?

//assume u want to know the size of mydir

du -h  mydir | grep mydir$

Emacs Tutorial for beginning!

C-x C-f open a new file

C-x C-s save the current file
C-x C-c exit the emacs (but save files first)

#command line Emacs

emacs -nc

#Open Split Horizonal Window

Ctrl-2

#Open Split Veritcal Window

Ctrl-3

#Maximize Window

Ctrl-0 

How to start Emacs in console mode?

Here is the command to start Emacs in mode! since emacs has the worst font!

 in console,

emacs -nc

How to update your source code from cvs in Debian or Ubuntu

Here is the command how to update your source code from CVS

cvs update -d