Fix command bug and documentation for ubuntu.