The basic code structure is like this: #!/bin/bash. function finish {. # Your cleanup code here. } trap finish EXIT. You place any code that you want to be ...
確定! 回上一頁