<?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-04-03T17:54:17+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/mac_command_line_audio"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/airport"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/rmdir"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/make_your_mac_feel_home"/>
            </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/info/mac/mac_command_line_audio">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-10T21:06:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Command Line Audio</title>
        <link>https://old.andunix.net/info/mac/mac_command_line_audio</link>
        <description>Command Line Audio

Change Mac Audio Volume from Command Line

To change the audio volume from remote of my Mac at home, I needed a command line tool which I can use via ssh. I've found it here: OS X Daily - Change the system volume from the command line. It's as easy as


sudo osascript -e &quot;set Volume 10&quot;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/airport">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:50:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AirPort Command Line Interface</title>
        <link>https://old.andunix.net/info/mac/airport</link>
        <description>AirPort Command Line Interface

AirPort On/Off

Infos from OS X Daily

AirPort On
networksetup -setairportpower airport on
AirPort Off
networksetup -setairportpower airport off
Select AirPort Network
networksetup -setairportnetwork {Network} AirPort
mac osx device wlan cli shell script sysadmin</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>
    <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>
</rdf:RDF>
