What are the differences in die() and exit() in PHP?

Ooops!!! there is no difference in die() and exit(). die() is equivalent to exit  and vice versa. But  why these two names because of there are functions which changed names because of an API cleanup or some other reason and … Continue reading

Posted in PHP, Shell | Tagged , | Leave a comment

Using wget command to download entire contents inside the directory

Using wget command, to download entire contents inside the directory. This can be achieved by using the option -m with wget for example: wget -m http://download.inhouse.net/mag_cd/linux4u/Dec06/app_server/jboss/ It will download all the files/folders inside the directory jboss -r, –recursive Specify recursive … Continue reading

Posted in Shell | Tagged , | Leave a comment

Install SciTE On Ubuntu

To install SciTE editor on Ubuntu. sudo apt-get install scite

Posted in Shell | Tagged | Leave a comment

To Find Your Current Shell Type

Tip: To find your current shell type following command Shell Command $ echo $SHELL

Posted in Shell | Tagged | Leave a comment

To Find All Available Shells In Your System

Tip: To find all available shells in your system type following command: Shell Command: $ cat /etc/shells

Posted in Shell | Tagged , , | Leave a comment