Aliasing a command and using it in the same line of code – Plesk
I was wondering if you could alias a command, and use it in the same line of code, see this example: alias php=/opt/plesk/php/5.6/bin/php; php -v; I want this to output PHP 5.6. alias php=/opt/plesk/php/7.3/bin/php; php -v; and I want this…