PdfPrep.com

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

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

Exit mobile version