add bash code fragment