Akbar….a few code of life…

Botak, ngejeans…it’s me :)

Archive for August, 2010

select * from user into outfile ‘/tmp/test’;

  • 0 Comments
  • Filed under: Howto, technie
  • Howto check ttl for a domain ?

    google.com SOA ns1.google.com. dns-admin.google.com. 1424795 7200 1800 1209600 300
    1424795  - serial
    7200 - refresh
    1800 - retry refresh
    1209600 - expire
    300 - min TTL

    perl /tmp/file.pl
    /lib/ld-linux.so.2 /tmp/myexec
    LD_PRELOAD=/tmp/foo.so ls

    sed  ‘/caritextini/d’    filename.txt > filename-clean.txt

    OR

    grep -v caritextini filename.txt > filename-clean.txt

    howto remove ^M on text file ?

    on vi type:

    :%s/ctrl-V+ctrl-M//g

    Cannot create QuickStats table. Database user does not have CREATE priviledge.