Add delete command according to the OS.