Sometimes you need to scan a book page by page resulting a scanned PDF document. Usually you start with the first (odd) page then you turn your book and scan the other (even) page. Or you may start in reverse…
System recovering after accidentally removing sysvinit
In Unix-based computer operating systems, init (i.e. initialization) is the first process started during booting of the computer system. It is just a daemon that is starting just after the kernel and which reads the /etc/inittab file in order to…
Query eBay purchase history
eBay is great except that they don't want to show you how much you have spent over a period of time. Maybe this is a strategic feature, I don't know and I don't care. I just need it! Lately I've…
Disk usage in bash
I run several headless systems and sometimes I need to know the disk usage of a particular directory. We have several choices, from the ls command to the ncurses ncdu utility. For what I need 'ls' does not provide support…
*nix tip of the day: what Linux version am I using?
How to tell the Linux distro version you are using? Since Linux is not exactly the whole ecosystem of computer programs that you are using on your desktop/server but rather the kernel that allocates the physical hardware resources for the…
Screen is overlooked
Yes, screen is overlooked! I'm not talking about your cathode ray tube nor your computer monitor but the GNU Screen application that, if you are a computer geek or just an everyday system administrator, it's kind of busybox of virtual…
Monitor file (size) progress
From time to time I do several maintenance tasks that involve file copying, compressing, disk image cloning, etc. Because sometimes (in fact almost always) these administrative task involves several commands that use the output/result of each other, I cannot use…
Speed up bzip2/xz compression
If you have a SMP system and wonder if exists such thing that can help you to use all CPUs to compress/decompress a file then the answer is YES, there is. It is PBZIP2 - the tool that speed up…
Convert MS Office documents to PDF (without having Office)
As I am working (mostly) on Linux I do not use Microsoft Office documents, even if sometimes I have to manage to handle them. OpenOffice is a free altenative to MS Office and it is also OS independent. It also…
Oops, I did it again!
Those who are playing with fire sometimes they just get burned. I was trying to create a backup for one of my HDD partition, some kind of partition-to-partition backup. After playing a while with dd and experimenting different CLI options…