Bash For loop Example

I’m always forgetting the syntax to make “for” loops in Bash. Anyhow, I know I will have to come back here to find it, so I thought I would write put up this quick example with the hope that it will be useful to others as well.

for i in $(seq 1 100); do echo -n “file${i} “; touch file${i} 2>&1; done

The the above for loop will create 100 files (called file1, file2, etc.).

another for loop exampe

Read more »

Categories: Linux, Orat-oret | Leave a comment

Vega4 – Life Is Beautiful

Vega4 – Life Is Beautiful

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Life is beautiful
We love until we die

When you run into my arms
We steal a perfect moment
Let the monsters see you smile
Let them see you smile
And do i hold you too tightly
When will the hurt kick in

Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles

Your life is beautiful
Our hearts they beat and break
When you run away from harm
Will you run back into my arms
Like you did when you were young
Will you come back to me
And i will hold you tightly
When the hurting kicks in

Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles

Stand where you are
We let all these moments pass us by

It’s amazing where i’m standing
There’s a lot left we can give

This is ours just for a moment
There’s a lot left we can give

It’s amazing where i’m standing
There’s a lot left we can give

This is ours just for a moment
There’s a lot left we can give

Categories: Music | Leave a comment

Install CVS Server on openSUSE 11

CVS adalah Concurrent Versions System. Fungsi dari CVS sendiri adalah untuk mencatat perubahan pada sebuah file, biasanya lebih sering digunakan untuk mencatat sebuah project development yang mencatat perubahan-perubahan pada file-filenya.

Install CVS di openSUSE 11

# zypper in cvs
Reading installed packages…
The following NEW package is going to be installed:
cvs

Overall download size: 368.0 K. After the operation, additional 872.0 K will be used.
Continue? [YES/no]: yes
Downloading package cvs-1.12.12-126.1.i586 (1/1), 368.0 K (872.0 K unpacked)
Downloading: cvs-1.12.12-126.1.i586.rpm [done (11.0 K/s)]
Installing: cvs-1.12.12-126.1 [done]

Read more »

Categories: Linux, Orat-oret | 2 Comments

openSUSE 11 (IIX)

Buat penggemar distro opensuse kemaren tanggal 19 Juni 2008 telah release opensuse versi 11.

Untuk para linuxer yang hanya mempunya benwit internasional pas2an dan link IIX nya kenceng bisa mendapatkan CD dan di DVD nya dengan mendownload link di bawah ini:

Versi openSUSE-11(i386) CD berupa liveCD :

* GNOME LiveCD MD5SUM c9d2c31ef7a1429d1abbb0cbd3ba505b

* KDE LiveCD MD5SUM 83b1a04f18d6782cfe0407edadac377f

Versi openSUSE-11 (i386) DVD

* openSUSE-DVD MD5SUM ed6a5b3feb668866df812b1c2aed9d7f

Categories: Linux | Leave a comment

Kisah Lagu Gaby “Tinggal Kenangan” Download MP3

Versi Piano

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Versi Gitar

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Pernah ada rasa cinta

antara kita kini tinggal kenangan

Ingin kulupakan

semua tentang dirimu

Namun tak lagi kan seperti dirimu

oh bintangku

Jauh kau pergi meninggalkan diriku

disini aku merindukan dirimu

kini ku coba mencari penggantimu

namun tak lagi kan seperti dirimu

oh kekasih”

Lagu ini lagi heboh di tv, mulai dari infowtaiment sampe ke warung-warung pojokan (halaaah..)yang membahas siapa yang punya lagu ini. Ya nry (kosa kata baru nry = henry) sih gak peduli lagu ini siapa yang ngarang pokoknya nih lagu enak di denger bagi yang mau download mp3 gaby linknya ada di bawah.

Read more »

Categories: Music, Orat-oret | 3 Comments

Mplayer dan Mencoder tips trik

Buat pencinta linux dan yang sering nonton di linux terutama menggunakan mplayer berikut tips dan triknya:

## MPLAYER

Q: Bila bermasalah dengan subtitile font terliha terlalu besar

Read more »

Categories: Linux | 1 Comment

Load Balancing & Failover With Multiple Connections on Linux

Udah lama gak nulis jadi pengen share sekalian dijadiin logbook aja.

Buat yang punya multiple connection baik itu di kantor, di warnet, di pos kamling, sampe di pos satpam dan di warteg-warteg.. (haaaalaaaahh..) Nah berikut cara buat load balancing dan failover untuk multiple connection di linux.

Setelah baca primbon Linux Advanced Routing & Traffic Control HOWTO akhirnya menemukan caranya. Trus langkah yang paling awal kita harus ngerti dulu jaringan yang kita punya. So mari kita cari informasinya

Link internet A ipnya 192.168.5.1 gatewaynya 192.168.5.254

Link internet B ipnya 10.10.10.6 gatewaynya 10.10.10.5

Untuk koneksi yang lebih cepet adalah koneksi internet B sehingga weight nya di set 4 supaya ga kusut katanya.

Okey.. informasi udah kumplit.. Sekarang kita rock n roll di linux ^^

Read more »

Categories: Linux | 3 Comments

Move to henry.suhatman.com/blog

Akhirnya tercapai juga pemindahan blog gw yang tak seberapa ini, yang sebelumnya ada di zaldy.suhatman.com/blog menjadi henry.suhatman.com/blog dan disukseskan oleh beberapa teman-teman yang mendukung kemajuan dari blog ini (haallaaah..)

Dan setelah dilihat-lihat lagi gue udah gak nulis di blog ini hampir satu tahun, tepatnya  12 bulan kurang 16 hari. And everything has change in my life.

Mungkin jiwa blogger gue akan muncul lagi seiring dengan adanya ini ^^ doain aja yach.. Udah segitu aja dulu sekian dan terima kasih ^^

Categories: Orat-oret | Leave a comment

Postfix Banner Faking

Change postfix welcome banner, this howto can tricky the attacker to attack your postfix.

Current banner : 220 mail.suhatman.com ESMTP Postfix

Wanted banner: 220 Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at Tue, 18 Mar 2003 18:35:40 +0100

Okay next this step.

Read more »

Categories: Linux | 6 Comments

Konfigurasi DNS Server Untuk Intranet dan Internet dengan Bind

Buat DNS server untuk Intranet dan Internet pada satu dns server
menggunakan bind dengan sintak view.
Sehingga pada saat query dilihat dari source ipnya, untuk localnet
akan mendapatkan query domain suhatman.com yang inside, dan untuk
yang melakukan query dari internet akan mendapatkan record domain
suhatman.com yang outside.

Berikut konfigurasi named.conf

Read more »

Categories: Linux | 1 Comment