Skip to content

Getting bad substitution error in shell script

I have a variable COUNTRY=”INDIA” and another sets of variables:- INDIA_POPULATION=”5,00,00,000″, CHINA_POPULATION=”6,00,00,000″. In script I am trying to call them using command:- echo ${ ${COUNTRY}_POPULATION } But I am getting bad substitution error. Can someone please t…

split directory with 10000 files into 2 directories [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question I have directory /logos which contains approximately 10000 png images. Can …

PHP GD install issue

When I try to insatll PHP GD on linux I get the below error I tried to install lib gd with the command sudo yum install libgd.so.3 but I got error Can anyone please help on this ? Full yum command Answer For a proper repository configuration please follow the Wizard instructions It looks like the remi-safe re…