Translate

Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Operating System Concepts
Image of Linux Kernel Development (3rd Edition)
Image of Beginning Google Maps API 3

OpenLMI - Open Linux Management Interface

In this post, I discuss the OpenLMI project, how to install OpenLMI on Fedora 19 and show how to retrieve information using YAWN, the LMIshell, WebCLI, Python and more. I also discuss the serious lack of security in the current implementation of OpenLMI.

Advanced Seaching in vi

The / and ? search commands in vi search forward and backward respectively from the current line. Sometimes, however, you may wish to search forwards or backwards from a particular line number or find the nth occurrence of a regular expression (RE). The commands: :line/RE :line?RE will search forward and backward, respectively, for the RE starting from the line number line. Another useful facility in vi is the ability to find the nth occurrence of an RE starting at the current line. The commands: nth/RE nth?RE will search forward and backward, respectively, for the nth occurrence of the RE starting

Write all 1s to file using dd

It is easy to create a file consisting of all zeros in Linux using dd and the /dev/zero device. $ dd if=/dev/zero count=100 bs=1 > outfile So how do you create a file consisting of all binary ones? There is no device to create binary ones so you have to do something like the following: $ dd if=/dev/zero count=100 bs=1 | tr “00” “377” > outfile You can use xxd to see the contents of the resultant file: $ xxd -b outfile 0000000: 11111111 11111111 11111111 11111111 11111111 11111111 …… 0000006: 11111111 11111111 11111111 11111111 11111111 11111111 …… 000000c: 11111111

Why Wayland?

The drive to replace the X11 Window System with something more modern is gaining momentum. Currently, Wayland is the leading contender. Eric Griffith and Daniel Stone have written an interesting article on Phoronix called The Wayland Situation in which they attempt to explain the shortcomings of X and the advantages of Wayland. Worth reading!