using bash