The first line in a shell script reads:#!/bin/bashWhat does it signify?

The first line in a shell script reads:#!/bin/bashWhat does it signify?Category: Introduction to Linux IIThe first line in a shell script reads:#!/bin/bashWhat does it signify?
Linux Questions Staff asked 1 year ago

The first line in a shell script reads:#!/bin/bashWhat does it signify?

  • It is a comment
  • The executable (shell) to use to run the script
  • Name of the editor used to create the file
  • The script requires root login

About the author