Ubuntu shell cannot handle my magic