Linux commands for WEB developers

Copy a folder

What port is used?

Find and delete files greater than a given size

Find a file

Read More

How to change php version in shell

If you have multiple versions of PHP and you want to change PHP version in shell then run following command:

This will give you a list of all PHP versions installed:

Find version that you need (i.e. /usr/bin/php71). Then open .bashrc (or .bash_profile) and add the following line to the end of the…

Read More