Cloudera Interview Question

What is "#!/bin/bash", and what is it used for?

Interview Answer

Anonymous

Sep 18, 2017

It's a "hash bang" or "she-bang", and it's used in a script to specify which interpreter the shell needs to use with this script.