Links: jwz centos7 amazon linux 2023, discource trust levels, bash exit trap
- Brain transplant: A tale of an upgrade from centos7 to amazon linux 2023. Bit of difficulty here but maybe not horrible. We’re going to have to do something like this at work likely.
- Understanding Discourse Trust Levels: How a new member of the community gets their start.
- How “Exit Traps” Can Make Your Bash Scripts Way More Robust And Reliable: Schedule a function to run just before a bash script exits.
#!/bin/bash
function finish {
# Your cleanup code here
}
trap finish EXIT