linux system uses a small mind

1. Ubuntu can not solve the problem using vi normal. sudo apt-get remove vim-common sudo apt-get install vim

2. linux system backup, note that some USB single file must not exceed 4G, so it is best to place the machine. tar cvpzf backup.tgz --exclude = / media --exclude = / backup.tgz --exclude = / mnt --exclude = / sys --exclude = / proc /

  Backup and recovery using tar xvpfz backup.tgz -C /

  mkdir proc

  mkdir lost+found

  mkdir mnt

  mkdir sys

3. If ssh appears WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED problem!:

ssh-keygen -R other ip address. And then re-connect to ssh, for the wrong reasons, the other party has been connected to the host, but the other heavy machinery and other operations led to key changes, so it is necessary to re-certification.

4.linux svn command

 

  1. Saved svn checkout svn path path
  2. svn update updates files in the current directory and all subdirectories to the latest version
  3. svn upate -r 200 test.java the repository test.java revert to version 200
  4. svn resolved to remove the file conflict.

 

Guess you like

Origin www.cnblogs.com/chxwkx/p/10951234.html
Recommended