<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://old.andunix.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://old.andunix.net/feed.php">
        <title>andunix.net</title>
        <description></description>
        <link>https://old.andunix.net/</link>
        <image rdf:resource="https://old.andunix.net/_media/favicon.ico" />
       <dc:date>2026-06-03T21:17:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/tag/scripting"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/sqlplus_scripting"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/relax"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/root_login_with_bash"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/exiftool"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/make_your_mac_feel_home"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/variables"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/tools"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/dyndns_updates_without_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/rmdir"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://old.andunix.net/_media/favicon.ico">
        <title>andunix.net</title>
        <link>https://old.andunix.net/</link>
        <url>https://old.andunix.net/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://old.andunix.net/tag/scripting">
        <dc:format>text/html</dc:format>
        <dc:date>2014-01-27T14:49:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>scripting</title>
        <link>https://old.andunix.net/tag/scripting</link>
        <description>scripting

Pages

Bookmarks</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/sqlplus_scripting">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:30:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: SQLplus Scripting</title>
        <link>https://old.andunix.net/info/oracle/sqlplus_scripting</link>
        <description>Oracle: SQLplus Scripting

To show only data in SQLplus and no header or other stuff, enter the following:


SET NEWPAGE 0
SET SPACE 0
SET LINESIZE 80
SET PAGESIZE 0
SET ECHO OFF
SET FEEDBACK OFF
SET VERIFY OFF
SET HEADING OFF
SET MARKUP HTML OFF SPOOL OFF</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Scripting</title>
        <link>https://old.andunix.net/info/script/index</link>
        <description>Scripting
script index


script scripting</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-17T07:55:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>How To Create a Moveable VM with VirtualBox</title>
        <link>https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox</link>
        <description>How To Create a Moveable VM with VirtualBox

VirtualBox works good when you use the same VMs all the time. It organizes the disk images in one directory and the configuration files in another. It kees a record of all known disk images and virtual machines.</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/relax">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-27T16:36:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ReLAX</title>
        <link>https://old.andunix.net/blog/2009/relax</link>
        <description>ReLAX

Thanks to Wolfgang Stief and Constantin Gonzalez, I got hold on one of the proceedings of the Linux Kongress and OpenSolaris Developer Conference.
In this book, I found amoung other, also very interesting, articles one about LAX by Thomas Groß.

LAX has some very interesiting concepts, but, unfortunately, it doesn't fit my needs.
So I decided to take some of the concepts of LAX and build my own sysadmin-automation-framework.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/root_login_with_bash">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>root login with bash</title>
        <link>https://old.andunix.net/info/script/root_login_with_bash</link>
        <description>root login with bash

On our systems, the root account is set to be a role, so you can't login as root, just su to root from an user which has the root role.
Also, the root user has the bourne shell (/bin/sh), but working with /bin/bash is much easier.
Using this command, you can directly log in as</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/exiftool">
        <dc:format>text/html</dc:format>
        <dc:date>2016-09-26T19:25:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>exiftool</title>
        <link>https://old.andunix.net/info/script/exiftool</link>
        <description>exiftool

Rename Photos

Try it first with -testname:
exiftool -d %Y-%m-%d_%H%M%S%%-c.%%e &quot;-testname&lt;CreateDate&quot; *.jpg
Then rename the files:
exiftool -d %Y-%m-%d_%H%M%S%%-c.%%e &quot;-filename&lt;CreateDate&quot; *.jpg
Correct the Date of Photos

To shift the photos 43 days, 14 hours and 55 minutes to the future:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/make_your_mac_feel_home">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:53:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Make your Mac feel at Home</title>
        <link>https://old.andunix.net/info/mac/make_your_mac_feel_home</link>
        <description>Make your Mac feel at Home

A small snippet from one of my scripts which tests whether your Mac is in the given (home) WLAN.


#
# Path to 'airport' executeable, as of Mac OS X 10.5.
AIRPORT=&quot;/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport&quot;
#
# Set this to your Home WLAN SSID (name):
HOMESSID=&quot;mycastle&quot;
#
# Get SSID info from 'airport' and search for $HOMESSID
SSID=$(${AIRPORT} --getinfo | grep ' SSID:')
SSID=$(echo ${SSID} | grep &quot;^SSID: ${HOMESSID}\$&quot;)…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/variables">
        <dc:format>text/html</dc:format>
        <dc:date>2015-10-23T12:39:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shell Script Variables</title>
        <link>https://old.andunix.net/info/script/variables</link>
        <description>Shell Script Variables

Last Character

Get the last character of $a:


${a: -1}


Remove Slash from the End of a Variable

Remove a trailing slash from $a:


a=${a%/}


scripting bash sysadmin variable</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/tools">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Command Line Tools Used in My Scripts</title>
        <link>https://old.andunix.net/info/script/tools</link>
        <description>Command Line Tools Used in My Scripts

This is a list of comman dline tools which I use in my scripts an which should be installed on every of my systems.
Basic tools (e.g. awk, find, grep, ps) which are always installed are not listed.

Audio/Video</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/dyndns_updates_without_client">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DynDNS Updates without a Client</title>
        <link>https://old.andunix.net/info/script/dyndns_updates_without_client</link>
        <description>DynDNS Updates without a Client

My new hosting provide Strato offers DynDNS.
I was searching for a DynDNS client for my OpenSolaris Home Server, but a small bash script does the job as good as any other client.


#! /bin/bash
 
. ${HOME}/.dyndns.cfg
DOMAINS=$(cat ${HOME}/.dyndns.domains)
 
echo &quot;$(date '+%Y-%m-%d %H:%M') $(basename $0)&quot;
for domain in ${DOMAINS}; do
        echo -n &quot;  ${domain} - &quot;
        curl --silent --show-error --insecure --user ${LOGIN} &quot;${UPDATE_URL}?hostname=${domain}&quot;
d…</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T17:59:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ReLAX</title>
        <link>https://old.andunix.net/z/relax/index</link>
        <description>ReLAX

This is the project page for ReLAX.
relax index


	*  Source Code (browse source code)

Blog Entries

	*  2009-11-27: ReLAX

project project_relax scripting shell sysadmin framework</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/rmdir">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T09:43:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rmdir for OSX</title>
        <link>https://old.andunix.net/info/mac/rmdir</link>
        <description>rmdir for OSX

The Finder on OSX creates .DS_Store files in the directories to store its settings.
This makes removing directories from the command line quite complicated:


$ rmdir test
rmdir: test: Directory not empty
$ rm test/.DS_Store 
$ /bin/rmdir test</description>
    </item>
</rdf:RDF>
