<?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:23:31+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/virtualbox/cli"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/exam_notes"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/make_your_mac_feel_home"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/list_open_ports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/code/git"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/etc/path_to_inst"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/exp"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mysql/user/password"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/fstyp"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/java/jps"/>
            </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/virtualbox/cli">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-22T13:16:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VBoxManage (The VirtualBox CLI)</title>
        <link>https://old.andunix.net/info/virtualbox/cli</link>
        <description>VBoxManage (The VirtualBox CLI)

This is a online reference of the output of VBoxManage without options.


Oracle VM VirtualBox Command Line Management Interface Version 4.2.16
(C) 2005-2013 Oracle Corporation
All rights reserved.


Usage:
VBoxManage [&lt;general option&gt;] &lt;command&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/exam_notes">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Notes for the Solaris 10 System Administration Exam (CX-310-200 &amp; -202)</title>
        <link>https://old.andunix.net/info/solaris/exam_notes</link>
        <description>Notes for the Solaris 10 System Administration Exam (CX-310-200 &amp; -202)

I'm preparing myself for the two exams to achieve the Sun Certified System Administrator (SCSA) certification.
This are my notes taken while studying the preparation books.

Managing File Systems

List Devices

To list the system's devices, you can use the following commands:</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/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/code/git">
        <dc:format>text/html</dc:format>
        <dc:date>2018-12-06T10:07:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Git</title>
        <link>https://old.andunix.net/info/code/git</link>
        <description>Git

Basics

Init Repository

Standard:
git init [DIR]
Bare:
git init --bare [DIR]
Log

See commits between branches:
git log master..develop
Branches

List Branches
git branch
Switch Branch
git checkout BRANCH
Delete Branch
git branch -d BRANCH
Delete Remote Branch</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/etc/path_to_inst">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>/etc/path_to_inst</title>
        <link>https://old.andunix.net/info/solaris/etc/path_to_inst</link>
        <description>/etc/path_to_inst

	*  path_to_inst(4)

The file /etc/path_to_inst maps physical device paths to driver name and driver instance number.

Example: e1000g0
&quot;/pci@0/pci@0/pci@1/pci@0/pci@2/network@0&quot; 0 &quot;e1000g&quot;
solaris config device</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/mysql/user/password">
        <dc:format>text/html</dc:format>
        <dc:date>2013-12-17T09:09:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MySQL: Change Password</title>
        <link>https://old.andunix.net/info/mysql/user/password</link>
        <description>MySQL: Change Password

	*  Replace {passwd} with the password of the user.
	*  Replace {user} with the name of the user.


GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY '{passwd}';
FLUSH PRIVILEGES;


Or you can alternatively use the following:


UPDATE mysql.user SET Password=PASSWORD('{passwd}') WHERE User='{user}';
FLUSH PRIVILEGES;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/fstyp">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fstyp</title>
        <link>https://old.andunix.net/info/solaris/fstyp</link>
        <description>fstyp

fstyp reports the type of file system.
With the -v (verbose) option reports even more informations.

	*  man page: fstyp(1M)

Example

UFS: ''fstyp''
fstyp /dev/rdsk/c1t0d0s0

ufs


UFS: ''fstyp -v''
fstyp -v /dev/rdsk/c1t0d0s0

ufs
magic   11954   format  dynamic time    Wed Dec 23 17:26:29 2009
sblkno  16      cblkno  24      iblkno  32      dblkno  760
sbsize  2048    cgsize  8192    cgoffset 64     cgmask  0xffffffc0
ncg     427     size    20972160        blocks  20654449
bsize   819…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/java/jps">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-19T14:05:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jps - Java Virtual Machine Process Status Tool</title>
        <link>https://old.andunix.net/info/java/jps</link>
        <description>jps - Java Virtual Machine Process Status Tool

The Java Virtual Machine has a jps tool wich is a bit like the ps command.
jps lists all java Processes of a user.
You can find the man page at &lt;http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html&gt;.
I'm using it with the parameters -l (long listing) and -m</description>
    </item>
</rdf:RDF>
