QuestionQ14Verified/The Power of the Command LineCopy linkReport a problemAsk AstroTutorSave questionWhich statements are true about a typical shell script?Choose twoAIt has the executable permission bit set.BIt starts with the two character sequence #!.CIt is located in /usr/local/scripts/.DIt is located in /etc/bash/scripts/.EIt is compiled into a binary file compatible with the current machine architecture.Show AnswerAnswerExplanationA shell script normally has execute permission so it can be run directly, and it commonly starts with #! (a shebang) to specify the interpreter. Shell scripts are interpreted text files, not binaries compiled for a particular machine architecture, and they are not required to be stored in either specified directory.Show comments8Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion