<?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-03T20:23:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/zfs_playground"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/cleanup_packages"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/localeadm"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/root_login_with_bash"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/travian_map_download_script"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/rmdir"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/disable_service"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/macports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/dyndns_updates_without_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/rman"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/ips_repository_appliance"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/compare_directories"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/variables"/>
                <rdf:li rdf:resource="https://old.andunix.net/tag/bash"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/timezone"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/android/backup"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2011/start_and_stop_apple_file_server_command_line"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-net-load-url"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mysql/database/backup"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/mac_command_line_audio"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/upgrade_solaris_11opensolaris_text_graphical"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/make_your_mac_feel_home"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/hostname"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/iconv"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/pargs"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/download_server_certificate"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/list_open_ports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/java/firefox_java-plugin"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/host/host-user-list"/>
                <rdf:li rdf:resource="https://old.andunix.net/p/andunix-tool/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2014/simulating_slow_network_connections_with_trickle"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/disable_core_dumps"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/ssh"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/gnome/cursor-size"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-repo-get-service"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/compact_sparseimage"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/exp"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/print_signature"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-repo-get-value"/>
                <rdf:li rdf:resource="https://old.andunix.net/wiki/syntax"/>
            </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/blog/2009/zfs_playground">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-11T15:06:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ZFS Playground</title>
        <link>https://old.andunix.net/blog/2009/zfs_playground</link>
        <description>ZFS Playground

This small demo shows the basic ZFS operations.
You will need a Solaris 10 or OpenSolaris host and 1,2GB of disk space.

Preparation

First, go to a directory where you have enought space.
We will need 1,2GB for 6 files of 200MB.
The files are named like disks, but they are only files for this demo.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/debian/cleanup_packages">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T09:01:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Cleanup Packages</title>
        <link>https://old.andunix.net/info/linux/debian/cleanup_packages</link>
        <description>Cleanup Packages

Purge uninstalled Packages

If a package is removed, it is only uninstalled, but the configuration remains on the system.
This is a good thing, as you are able to reinstall the package and have it configured with the old configuration.
But if you want to cleanup this old stuff, you can ge a list of uninstalled (but not purged) packages with this command:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/localeadm">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:58:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>localeadm</title>
        <link>https://old.andunix.net/info/solaris/localeadm</link>
        <description>localeadm

The localeadm utility queries and configures Solaris locales through a command line interface.

	*  man page: localeadm(1M)

Preparation

Check your Solaris Release with cat /etc/release and get a matching DVD or ISO image.

If you're using an ISO image, you have to mount it (insert your path in the first line.</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/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/z/travian/travian_map_download_script">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:18:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Map Download Script</title>
        <link>https://old.andunix.net/z/travian/travian_map_download_script</link>
        <description>Travian Map Download Script

This is my script(s) which I use to downoad the map.sql from Travian and import it to the database.

config.inc


#
# database
DB_USER=&quot;travian&quot; # set this to your database user
DB_PASS=&quot;travian&quot; # set this to your database password
DB_INST=&quot;travian&quot; # set this to your database instance
#
# directories
MAP_DIR=${HOME}/opt/travian
DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql
#
# executables
MYSQL=&quot;/srv/mysql/bin/mysql --default-character-set=utf8 -u${DB_USER} -…</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/linux/debian/disable_service">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-01T19:54:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Disable a Service</title>
        <link>https://old.andunix.net/info/linux/debian/disable_service</link>
        <description>Disable a Service

To disable a service:


service &lt;service&gt; stop
update-rc.d &lt;service&gt; enable|disable


With systemd (starting with Debian 8):


systemctl disable &lt;service&gt;


To (re)enable a service: 


update-rc.d &lt;service&gt; enable|disable
service &lt;service&gt; stop</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/macports">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:59:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MacPorts</title>
        <link>https://old.andunix.net/info/mac/macports</link>
        <description>MacPorts

List Ports

list requested ports:


port echo requested | cut -d ' ' -f 1 | uniq


list installed ports:


port -qv installed


Housekeeping

When ports are updated, the old port is only deactivated, not uninstalled:


...
autoconf                       @2.69_2 
autoconf                       @2.69_3 
autoconf                       @2.69_5 
...</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/info/oracle/rman">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:24:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: Recovery Manager</title>
        <link>https://old.andunix.net/info/oracle/rman</link>
        <description>Oracle: Recovery Manager

Start Recovery Manager


rman target /


Delete Archive Logs

Delete all archive logs but keep the last 45 days:


DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45';


To remove archive logs older than 3 days without prompting, e.g. via cron, after backup run:</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/ips_repository_appliance">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-27T12:36:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPS Repository Appliance</title>
        <link>https://old.andunix.net/blog/2010/ips_repository_appliance</link>
        <description>IPS Repository Appliance

Brian Leonard wrote a good guide how to setup a Local Repository Mirror.

If you are in a hurry, it's good to know that you don't need to copy the entire repository of about 8GB to a local disk. You can use the repository image directly. Here is how you can do that.</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-11T10:16:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>OpenSolaris / VirtualBox: Mount Shared Folder</title>
        <link>https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder</link>
        <description>OpenSolaris / VirtualBox: Mount Shared Folder

To mount a shared folder in a OpenSolaris guest in VirtualBox, you have to install the Guest Additions and then mount the file system type vboxfs.
The Usage is:


mount -F vboxfs &lt;share&gt; &lt;mountpoint&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/compare_directories">
        <dc:format>text/html</dc:format>
        <dc:date>2018-09-19T12:34:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Compare directories</title>
        <link>https://old.andunix.net/info/script/compare_directories</link>
        <description>Compare directories

For each of the directories, generate a digest file:


find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 &gt; shasums.txt


It's important to use LC_ALL=C and the option -d of sort, to get compareable results on different machines.</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/tag/bash">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:51:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>https://old.andunix.net/tag/bash</link>
        <description>bash

Pages

Bookmarks</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/debian/timezone">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-08T10:45:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Setting the Timezone</title>
        <link>https://old.andunix.net/info/linux/debian/timezone</link>
        <description>Setting the Timezone

The timezone is stored in the file /etc/timezone.

Check the Timezone


cat /etc/timezone


Example:


# cat /etc/timezone 
Europe/London


Set the Timezone

You can use vi:


vi /etc/timezone


Or set it directy:


echo &quot;Europe/Berlin&quot; &gt; /etc/timezone</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/android/backup">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-24T12:11:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Android Backup</title>
        <link>https://old.andunix.net/info/android/backup</link>
        <description>Android Backup

To backup your device, use this command. It will automatically insert the current date in the filename:


adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db


If you are havong problems with the connection (“adb: unable to connect for backup</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2011/start_and_stop_apple_file_server_command_line">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:53:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Start and Stop the Apple File Server from Command Line</title>
        <link>https://old.andunix.net/blog/2011/start_and_stop_apple_file_server_command_line</link>
        <description>Start and Stop the Apple File Server from Command Line

You can use /sbin/service to start or stop the “Personal File Sharing”.

Start the Apple File Server (“Personal File Sharing”):


sudo /sbin/service com.apple.AppleFileServer start


And likewise stop it:</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-21T08:17:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Memory Usage of a Solaris Container (Zone)</title>
        <link>https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone</link>
        <description>Memory Usage of a Solaris Container (Zone)

Last week one of my servers ran out of RAM and Swap. Shame on me for not monitoring that, but it's now.

As the server is running several zones, my first question was: Which zone is eating up my RAM? So, here are the commands I used.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-net-load-url">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-net-load-url</title>
        <link>https://old.andunix.net/z/relax/api/base/base-net-load-url</link>
        <description>base-net-load-url

Loads a file from an URL and outputs it to STDOUT.

Usage
base-net-load-url URL
	*  URL: the URL to load.

Returns

Returns the contents of the resource referenced by the URL.

Examples


base-net-load-url &quot;${service_url}&quot;



PASSWORD=$(base-net-load-url ${PASSWORD_URL})</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mysql/database/backup">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MySQL: Backup</title>
        <link>https://old.andunix.net/info/mysql/database/backup</link>
        <description>MySQL: Backup

Export a Database


# set or replace the variables $USER, $PASS and $DB
mysqldump --add-drop-table -u${USER} -p${PASS} ${DB}


Export all Databases individually


# set or replace the variables $USER and $PASS
DATE_YMD=$(date &quot;+%Y-%m-%d&quot;)
DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases')
for db in ${DATABASES}
do
    mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} &gt; ${DB}_${DATE_YMD}.sql &amp;
    bzip2 ${DB}_${DATE_YMD}.sql &amp;
    # sleep 10 # option…</description>
    </item>
    <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/blog/2010/upgrade_solaris_11opensolaris_text_graphical">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-04T12:33:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Upgrade Solaris 11/OpenSolaris from Text to Graphical</title>
        <link>https://old.andunix.net/blog/2010/upgrade_solaris_11opensolaris_text_graphical</link>
        <description>Upgrade Solaris 11/OpenSolaris from Text to Graphical

If you installed your system using the text installer, the system will only be installed with a text interface. Here is how to upgrade to a graphical system.

Do the following as root (su) or with appropriate permissions (</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/mac/hostname">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:53:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Set a Mac's Hostname</title>
        <link>https://old.andunix.net/info/mac/hostname</link>
        <description>Set a Mac's Hostname

To set the permanent hostname, use the scutil utility (enter the desired hostname instead of the_hostname):


sudo scutil --set HostName the_hostname


Credits

	*  &lt;http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/&gt;

mac osx cli sysadmin</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/iconv">
        <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>Change Encoding with iconv</title>
        <link>https://old.andunix.net/info/script/iconv</link>
        <description>Change Encoding with iconv

Convert Single File
iconv -f iso-8859-1 -t utf-8 -o OUTPUT.txt INPUT.txt
Converts INPUT.txt from iso-8859-1 to utf-8 and writes it to OUTPUT.txt.

Convert All Files in a Directory


for f in $(find . -type f)
do
  iconv -f iso-8859-1 -t utf-8 -o ${f}_$$_TEMP ${f} \
  &amp;&amp; mv ${f}_$$_TEMP ${f}
done</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/pargs">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T09:01:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pargs for Linux</title>
        <link>https://old.andunix.net/info/linux/pargs</link>
        <description>pargs for Linux

If you miss pargs from Solaris, then try this:


ps eww -p &lt;pid&gt;


linux sysadmin cli</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/download_server_certificate">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-11T14:42:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Download a Server Certificate</title>
        <link>https://old.andunix.net/info/cryptography/openssl/download_server_certificate</link>
        <description>Download a Server Certificate

First, load the certificate chain from the server:


openssl s_client -showcerts -connect www.example.org:443 &lt;/dev/null


This will output the whole server certificate chain.
Every chertificate ist wrapped between -----</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/list_open_ports">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-13T20:11:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List Open Ports</title>
        <link>https://old.andunix.net/info/sysadmin/list_open_ports</link>
        <description>List Open Ports

To list the open ports together with the listening processes:


netstat -tulpn


Here is an example output:


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      695/sshd        
tcp6       0      0 :::22                   :::*                    LISTEN      695/sshd        
udp        0      0 0.0.0.0:55872      …</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/java/firefox_java-plugin">
        <dc:format>text/html</dc:format>
        <dc:date>2014-09-05T12:12:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Install the Java-Plugin for Firefox</title>
        <link>https://old.andunix.net/info/java/firefox_java-plugin</link>
        <description>Install the Java-Plugin for Firefox

To install the Java plugin for Firefox, you have to create a symlink from Firefox's plugin directory /usr/lib/firefox-addons/plugins/ to the file libnpjp2.so in the JRE's “lib” dir.


sudo ln -s \
  ${JAVA_HOME}/jre/lib/amd64/libnpjp2.so \
  /usr/lib/firefox-addons/plugins/libnpjp2.so</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/host/host-user-list">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>host-user-list</title>
        <link>https://old.andunix.net/z/relax/api/host/host-user-list</link>
        <description>host-user-list

Lists the users on a given host.

Usage
host-user-tab HOST
	*  HOST: a key of a host service definition in the repository.

Returns

Returns the first colum (login) of the /etc/passwd file.

Example


users=$(host-user-list &quot;${host}&quot; \
	| egrep -v &quot;${IGNORED_USERS}&quot;
)</description>
    </item>
    <item rdf:about="https://old.andunix.net/p/andunix-tool/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T11:12:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>andunix-tool</title>
        <link>https://old.andunix.net/p/andunix-tool/index</link>
        <description>andunix-tool

Usage:
java -jar andunix-tool.jar &lt;Global Options&gt; &lt;Command&gt; &lt;Command Options&gt;
Tip: I suggest to create a shell-script to ease the java starting:


#! /bin/sh

# Change this to the directory in which you put ''andunix-tool.jar''
# and the corresponding ''lib'' directory
ANDUNIX_TOOL_DIR=${HOME}/opt/andunix-tool

# Use this to define the path to your Java-Intallation
JAVA_HOME=/opt/jdk

exec ${JAVA_HOME}/bin/java -jar ${ANDUNIX_TOOL_DIR}/andunix-tool.jar $*</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2014/simulating_slow_network_connections_with_trickle">
        <dc:format>text/html</dc:format>
        <dc:date>2014-01-27T14:38:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Simulating slow network connections with trickle</title>
        <link>https://old.andunix.net/blog/2014/simulating_slow_network_connections_with_trickle</link>
        <description>Simulating slow network connections with trickle

You can limit the downlink of a Firefox browser to 512 KB/s with this command:


trickle -d 512 /usr/bin/firefox -no-remote -P test


More informations can be found on these pages:

	*  trickle Homepage
	*  Trickle in the Ubunutuuser Wiki (german)</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/disable_core_dumps">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-16T06:36:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Disable Core Dumps</title>
        <link>https://old.andunix.net/info/linux/disable_core_dumps</link>
        <description>Disable Core Dumps

To disable core dumps create a file /etc/security/limits.d/no_core_dumps with the content * hard core 0:


echo '* hard core 0' &gt; /etc/security/limits.d/no_core_dumps


Based on the “Nix Craft” article Linux Disable Core Dumps.

linux sysadmin admin config</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/ssh">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-30T12:09:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SSH</title>
        <link>https://old.andunix.net/info/sysadmin/ssh</link>
        <description>SSH

SSH with Public Key Authentication only

/etc/ssh/sshd_config

Make sure that your SSH config file (sshd_config) contains these settings:


PubkeyAuthentication yes
PasswordAuthentication no


If you changed the config, make sure to restart sshd to activate ist:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/gnome/cursor-size">
        <dc:format>text/html</dc:format>
        <dc:date>2016-07-12T09:43:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Cursor Size</title>
        <link>https://old.andunix.net/info/linux/gnome/cursor-size</link>
        <description>Cursor Size

To change the mouse cursor size in GNOME, use this command. Substitute the value 32 with your prefered size.


gsettings set org.gnome.desktop.interface cursor-size 32


desktop gnome linux mouse cursor settings</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-repo-get-service">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-repo-get-service</title>
        <link>https://old.andunix.net/z/relax/api/base/base-repo-get-service</link>
        <description>base-repo-get-service

Loads a service configuration from the repository and outputs it to STDOUT.

Usage
base-repo-get-service SERVICE
	*  SERVICE: a key of a service definition in the repository.

Returns

Returns the service definition.
This is usually evaluated in a shell script by the</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/compact_sparseimage">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:52:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Comapct Sparse Image</title>
        <link>https://old.andunix.net/info/mac/compact_sparseimage</link>
        <description>Comapct Sparse Image


hdiutil compact your.sparseimage


sysadmin cli apple mac osx</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/exp">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:40:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: EXP</title>
        <link>https://old.andunix.net/info/oracle/exp</link>
        <description>Oracle: EXP

Export all Objects from an Account

Enter the account name insteand of {user}.


exp USERID=\'/ as sysdba\' FILE={user}.dmp FULL=N OWNER={user}


admin exp oracle</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/print_signature">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-29T09:15:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Print Information about a Signature</title>
        <link>https://old.andunix.net/info/cryptography/openssl/print_signature</link>
        <description>Print Information about a Signature


openssl pkcs7 -in signature.p7s -text -inform DER -print_certs -noout


cryptography howto openssl security</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-repo-get-value">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-repo-get-value</title>
        <link>https://old.andunix.net/z/relax/api/base/base-repo-get-value</link>
        <description>base-repo-get-value

Loads a service configuration from the repository and outputs a single value (for the given key) to STDOUT.

Usage
base-repo-get-value SERVICE KEY
	*  SERVICE: A key of a service definition in the repository.
	*  KEY: The key for the value in the service definition to output.</description>
    </item>
    <item rdf:about="https://old.andunix.net/wiki/syntax">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-15T19:10:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Formatting Syntax</title>
        <link>https://old.andunix.net/wiki/syntax</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
</rdf:RDF>
