Unix/Linux
to unpack on the fly...
gunzip < FILE.tar.gz | tar xvf -
to pack on the fly...
tar cvf - FILE-LIST | gzip -c > FILE.tar.gz 

How to apply a unix command to a set of file (-exec).

    find . -name "rc.conf" -exec chmod o+r '{}' \; 

csh scripting
 set f = /path/to/file/file.txt
echo $f:e      == txt
echo $f:r      == /path/to/file/file
echo $f:t      == file.txt
echo $f:r:t    == file

ufsdump & ufsrestore:
# ufsdump 0f - /dev/rdsk/c0t0d0s7 | (cd /home; ufsrestore xf -)



Oracle
 Find and kill session
SELECT s.sid,
       s.serial#,
       s.osuser,
       s.program
FROM   v$session s;

SQL> ALTER SYSTEM KILL SESSION 'sid,serial#';



UNIX
  Solaris:
  give you more detailes information regarding the hardware you have on your system
  /usr/platform/sun4u/sbin/prtdiag -v

  list processors
  /usr/sbin/psrinfo -v



Linux

Dump dvd movie with mplayer and dvdnav
mplayer dvdnav://1 -dumpstream

Windows