Format bash command