Past Ubuntu Commands From Blogspot
  • Useful valgrind flags: "valgrind —tool=memcheck —leak-check=yes —show-reachable=yes —num-callers=20 —track-fds=yes ./test"
  • BashRC addition to go page up/down for history: Add the following to .inputrc and make sure the environment variable INPUTRC is set (to ~/.inputrc):
    "\e[1~": beginning-of-line
    "\e[4~": end-of-line
    "\e[5~": history-search-backward
    "\e[6~": history-search-forward
    "\e[3~": delete-char
    "\e[2~": quoted-insert
  • Apparently, you can setup vim options for specific file types with the following syntax in the .vimrc file:
    If has ("autocmd")
    autocmd BufRead,BufNewFile *.todo :set nonumber tw=80
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License