Bash For Loop examples

Februari 23, 2010

for a in $(seq 6511 7986 ) ; do mv file.$a folder1/;done

For move file name file.6511 until file.7986 to folder1.


Menonaktifkan etags di lighttpd

Februari 1, 2010

Tambahkan baris berikut kedalam konfigurasi lighttpd.conf

static-file.etags = “disable”


Cara cepat menggunakan sshfs

Januari 27, 2010

sshfs user@hostname: mountdir/
cd mountdir/
fusermount -u mountdir


Howto remove mdadm raid array – umount /…

Januari 27, 2010

Howto remove mdadm raid array
- umount /dev/md0;
- mdadm –stop /dev/md0;
- mdadm –zero-superblock /dev/sd{a,b,c,d}

source : http://ubuntuforums.org/showthread.php?p=2459683


Sparse files are not recommended due to …

Januari 25, 2010

Sparse files are not recommended due to data integrity and performance issues. Sparse files are created much faster and can used for testing but should not be used in production environments.

Nah lho bener kan