mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08:00
update notes
This commit is contained in:
parent
9ce37fdd1c
commit
1429ef20f0
1 changed files with 8 additions and 2 deletions
|
@ -210,6 +210,7 @@ You can skip the script file extension, it works equally well with.
|
||||||
|
|
||||||
|
|
||||||
### Shebangs (on *nix)
|
### Shebangs (on *nix)
|
||||||
|
|
||||||
You can also use the magic of shebangs to make an executable script, e.g. taking the example above, we can write:
|
You can also use the magic of shebangs to make an executable script, e.g. taking the example above, we can write:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -225,5 +226,10 @@ $> ./myscript.cmd
|
||||||
|
|
||||||
And it will be executed invoking the `pm3` script.
|
And it will be executed invoking the `pm3` script.
|
||||||
|
|
||||||
use the following if your script is intended to work offline.
|
Use the following if your script is intended to work offline.
|
||||||
`#!/usr/bin/env -S proxmark3 -s`
|
|
||||||
|
```
|
||||||
|
#!/usr/bin/env -S proxmark3 -s
|
||||||
|
```
|
||||||
|
|
||||||
|
Beware the shebang trick is not available on all the platforms, it requires your `env` to accept the `-S` switch.
|
||||||
|
|
Loading…
Reference in a new issue