bash best practice