Scripting Examples:

  • image processing:
    rotate an image 90 degrees clockwise:
    $ convert src_image.jpg -rotate 90 dest_image.jpg
  • wget:
    download and execute a script:
    $ wget -q -O - http://duane.freeshell.net/pclug.sh | sh
  • netcat:
    perform a network backup of a file:
    $ on server: nc -l -p 1234 > GPL.bz2   on client: cat GPL | bzip2 | nc localhost 1234