Mecworks

    Technology, Linux, Photography, Science, Cycling, Outdoor Activities and other interests.

    Browsing Posts tagged bash

    Looking over the stats for the last few years, it’s interesting to see what the most popular posts have been. Here’s the top 5:

    I definitely need to write more technology related posts. I have a few drafts that I’ve been working on related to some DIY projects I’ve worked on including some detailed posts on moding a T-Amp, and designing a power supply for it and some wood working projects I’ve done. Hopefully I’ll find some time to publish them this summer.

    I was working on a project at work to make installation of SLES 10 servers easier in the lab that I work in. One of the features of SuSE products is to save the configuration of a machine into an XML config file that will be later used by AutoYast to clone the machine. This is useful in a variety of cases such as mine where we have a lab that needs several machines installed and it takes time to go through the configuration on each install or in the case where a school or computing lab needs to install several nearly identical machines. This saves valuable time.

    continue reading…

    When scripting admin type tools in bash, many times you need to run a script as root. A script sometimes requires mounting file systems, adding users, moving/editing/renaming files and some other things that the user executing the script may not have rights to do.

    continue reading…

    I can’t take credit for this. Stuart Jansen of Guru Labs referenced Tensai‘s brilliance (nice play on words Stuart. For thoes who don’t know, ‘tensai’ in Japanese means smart or brilliant). Tensai is one of the members of PLUG and is also on irc.freenode.net’s #utah most of the time. Tensai in turn blames Hans Fugal for actually pointing him in the direction of this solution. And so we find that knowledge always exists, not unlike matter, neither destroyed or created, just changing forms. I wanted to get this down in my blog because it’s a good place to have ideas which are useful and hopefully it will help someone else.

    continue reading…