Extract basher commands into a hidden command.