Bug in Linux

Not working in Linux, have to change the commands