bash magic