Debian Cheatsheet

Toolkit packages

  • apt-get install vim net-tools


No copy paste in vim

  • vi /usr/share/vim/vim80/defaults.vim
  • Comment out mouse lines
    • " In many terminal emulators the mouse works just fine.  By enabling it you
      " can position the cursor, Visually select and scroll with the mouse.
      "if has('mouse')
      "  set mouse=a


  • vim
    • :mkvimrc
    • :q!
  • vi ~/.vimrc
    • add at the end of file
    • " other stuff
      set bg=light    "because I'm working with white terminal background color
      set paste       "no autoindent when pasting


  • vi /etc/apt/sources.list
  • apt-get update
  • apt-get -t stretch-backports install my-package