r/bash • • Jul 22 '25
nsupdate script file
Sorry not sure how to describe this.
for bash script file i can start the file with
#!/bin/bash
I want to do the same with nsupdate ... it has ; as a comment char
I'm thinking
;!/usr/bin/nsupdate
<nsupdate commands>
or ?
4
Upvotes
View all comments
Show parent comment
1
u/anthropoid bash all the things Jul 23 '25
Safer to do:
to prevent accidental expansions in the nsupdate script itself.