modify the cmd in Ubuntu