How does the switch determine of the file being retrieved in a script or a configuration file?

Posted by: Pdfprep Category: ACE-A1.2 Tags: , ,

ZTP can retrieve either an EOS configuration file or a script at boot.

How does the switch determine of the file being retrieved in a script or a configuration file?
A . If the first line of the file ends with a shebang (#!), the file is a configuration file.
B . If the first line of the file starts with a shebang (#!), the file is a script.
C . If the last line of the file ends with a shebang (#!), the file is a script.
D . If the last line of the file starts with a shebang (#!), the file is a configuration file.

Answer: B

Leave a Reply

Your email address will not be published.