Solaris
Good Package Source
cd /tmp gunzip foo-1.00-sol8-sparc-local.gz pkgadd -d foo-1.00-sol8-sparc-local
cd /tmp gunzip foo-1.00-sol8-sparc-local.gz pkgadd -d foo-1.00-sol8-sparc-local
lsscsi
scsiadd -r 0 0 0 0
scsiadd -a 0 0 0 0
sfdisk -d /dev/sda | sfdisk /dev/sdb
sed -n 2~1p
sed -e 's#<[^>]*>##g'
up2date --dry-run | sed -n '/solving RPM inter-dependencies/,/The following Packages were marked to be skipped by your configuration/p' | sed -n '/^$/,/^$/p' | sed -n 4~1p | sed '/^$/d' | awk '{print $1 " " $2 "-" $3 "-" $4}'yum -d 0 check-update | awk '{print $1 " " $2}'zcat | tai64nlocal | less
echo ":smtp.example.com" > /var/qmail/control/smtproutes
/var/qmail/bin/qmail-qstat
or
/var/qmail/bin/qmail-qread
killall -ALRM qmail-send
puppetmasterd --certname puppet.example.com
sendmail_path = "sendmail -t -i -r user@example.com -f user@example.com -F user@example.com"
Or for inline apache configuration:
php_value sendmail_path "sendmail -t -i -r user@example.com -f user@example.com -F user@example.com"
sqlplus '/as sysdba'
sqlplus "sys/password@host/sid as sysdba"
SQL> select * from v$version;
sqlplus '/as sysdba' -- Connect to DB
shutdown abort -- Kick all users off
startup restrict -- Restore any dangling transaction from above shutdown
shutdown immediate -- Clean shutdown
exit -- Disconnect from DB
emctl stop dbconsole -- Stop web console
Purging binary logs can free up a lot of space in a crunch. These logs are primarily used for replication, and don't necessarily need to be kept for very long.
Munin Node for Windows can be downloaded from http://sourceforge.net/projects/munin-nodewin32/
There are a few items that do not work out of the box: