dash '-' after #!/bin/sh – – CentOS
I have been working on a few scripts on CentOS 7 and sometimes I see: #!/bin/sh - on the first line. Looking at the man page for sh I see the following under the Special Parameters - Expands to the…
I have been working on a few scripts on CentOS 7 and sometimes I see: #!/bin/sh - on the first line. Looking at the man page for sh I see the following under the Special Parameters - Expands to the…
I have been setting up a Jenkins pipeline using docker images. Now I need to run various services like MySQL, Redis, Memcache, Beanstalkd and Elasticsearch. To wait the job until MySQL is ready, I am using the following command :…