Mailing the story:
How to compress and minify CSS and JavaScript from the command line
The most well-known tool to minify CSS and JavaScript is YUI Compressor, which is part of YUI (Yahoo! User Interface) JavaScript library written by Yahoo! developers. In this tutorial, I will describe how to compress CSS or JavaScript from the command line on Linux by using YUI Compressor.