Batch mode
Use bpftool’s batch mode to group multiple operations
There is a batch mode in bpftool for running several commands at once:
# bpftool batch file <file>
It can read commands from standard input if <file> is -:
# echo 'prog show \n map show \n net show' | bpftool batch file -
Use # at the beginning of lines in the batch file to denote comments.