Blog

                   _/    _/    _/_/_/    _/_/    _/_/_/    _/_/_/_/  _/      _/  _/      _/    _/_/    
                  _/    _/  _/        _/    _/  _/    _/  _/        _/_/    _/    _/  _/    _/    _/   
                 _/    _/  _/        _/_/_/_/  _/_/_/    _/_/_/    _/  _/  _/      _/      _/_/_/_/    
                _/    _/  _/        _/    _/  _/    _/  _/        _/    _/_/      _/      _/    _/     
                 _/_/      _/_/_/  _/    _/  _/    _/  _/_/_/_/  _/      _/      _/      _/    _/    


Hey! I'm MeaCulpa. Welcome to my Dokuwiki!

Recent

ET Again

With the new Razer Death Adder Left-handed version I'm back on some FPS.

Like Wolfenstein:ET. here is the banner on a server:

I love this game!

2012/01/24 06:30 · MeaCulpa · 0 Comments · 0 Linkbacks
, ,

AWK Sample

I always consider the term “shell scripting” to be differed based on personal-state.
I found myself becoming a huge fan of awk… My shell functions tend to put heavy operations in awk…
I tend to put heavy work on utils like sed, awk, even python, not in shell itself.

→ Read more...

2011/11/14 20:03 · MeaCulpa · 0 Comments · 0 Linkbacks

Find UUID of Disk

UUID is the abbreviation for Universally Unique Identifier.

To find the UUID for your device, use blkid, for Gentoo, it is part the e2fsprogs package since version 1.26:

# blkid
/dev/hda1: UUID="1b50a494-c9e4-4d92-91a6-31b6662b7231" TYPE="ext2"
/dev/hda2: UUID="3eb9c4b5-fb87-4728-a5ae-5f06d40493bd" TYPE="swap"
/dev/hda3: UUID="0f19ba2a-8506-49a1-b23f-f8676727e54a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sde1: LABEL="USB-120GB" UUID="3212-4c62" TYPE="vfat"

In configuration files use instead of the device file the UUID: File: /etc/fstab

# <device file system>                    <mount point> <type>  <options> <dump> <pass>
# By dev name
/dev/hda1                                 /boot         ext2	defaults  0      2
# By UUID
UUID=1b50a494-c9e4-4d92-91a6-31b6662b7231 /boot         ext2	defaults  0      2
2011/09/18 20:42 · MeaCulpa · 1 Comment · 0 Linkbacks

Do ssh-copy-id to Restricted Shells

Recently I have the need to ssh into some machine running “Restricted Shell” of IBM products, like restricted Bash for HMC and ksh for VIOS.
The handy “ssh-copy-id” won't work cos no cd and redirection is alloewd. But it is still do-able with a lil'bit manual labor.

→ Read more...

2011/08/30 22:55 · MeaCulpa · 0 Comments · 0 Linkbacks

Image Poster

Just write two image posters. Take filename in stdin, usage is like more.

→ Read more...

2011/07/05 22:14 · MeaCulpa · 0 Comments · 0 Linkbacks

Older entries >>

Twitter Quote @Methuselar