This blog php-wordpress-answers contains the wordpress,php,jquery,html,css code we use daily then forget to keep it at safe place.So save our time we will put the working code that can be used by anyone when needed easily.I finally created this blog to help with open source code for the Developers.
Installing Wordpress from command line / dos / linux
wget http://wordpress.org/latest.tar.gz; Then unzip the package using: tar -xzvf latest.tar.gz. The WordPress package will extract into a folder called wordpress