Ac7hperBamalove Ac7hperBamalove
  • 14-03-2017
  • Computers and Technology
contestada

In a linux script, the line ____ is important because it identifies the file as a script.

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 15-03-2017
The closest line to that would be the first line:


#!/bin/bash

echo "Hello World!"


BTW, the "#!" is referred to as a she-bang. When those are the first characters executed, the (requires an absolute path) program that follows is launched, and the rest of this file is given to it as data. To run this like a program, the execute permissions need to be set ( chmod 0755 script.sh ).
Answer Link

Otras preguntas

Photo above really need help
Why did the public ignore scientists’ warnings to evacuate the area? Check all that apply. They wanted to keep doing their jobs and living their lives. They tho
a major risk of the delegate model of representation is that
What is the solution to the system of linear equations? 2x + 3y = 3 3x + 5y = 5 Enter you answer into the boxes.
What is the equation of a line perpendicular to y= 3/4x +12 that passes through (12, 3)
what are the struggles with regard to a healthy body weight?
what are the five principles of critical race theory
find the square root of 12.96 by divison method
The controller of Sheridan Industries has collected the following monthly expense data for use in analyzing the cost behavior of maintenance costs. Month Total
this is messed up help x_x