Problem comes from Dash shell, which is used by default on Ubuntu. You have to reconfigure your terminal and disable the usage of Dash : Type in your console : sudo dpkg-reconfigure dash Choose the answer "No" Close and launch your terminal, now it will works !