A powerful command, SED

No Comments

SED is powerful. It can, besides many other things, substitute, append, remove characters or groups of characters or whole lines in a text file or the console output. You may find it difficult to use, but here is an excellent web page that will help you get going:

A different approach…HAL

No Comments

I use some custom scripts to store data on my ZIP diskettes. I have a dozen of them and when I insert them into the drive they automatically mount. I like this. The problem is that the mount-point gets its name everytime from the diskette’s label, so I have to make my scripts find out…

Continue reading

UDEV

2 Comments

Yesterday I was messing around with UDEV. I own some usb storage devices which are not plugged into my main computer all the time, but only when I need them. In a such situation, the order you plug in the devices has an effect on the way their nodes are created in /dev. For example,…

Continue reading