[[TableOfContents]] == vimrc 설정 파일 예시 == $HOME 디렉토리에 .vimrc로 저장한다. {{{ if system("echo $LANG | sed -e 's/\(..\).*$/\1/'")=="ko\n" set fileencoding=korea endif " BackSpace Key Setting " set t_kb=^? " fixdel "set magic "set noshowcmd "set nowrap "set showmode "set nobackup "set tabstop=2 "set shiftwidth=4 set notitle set noicon set nocompatible "set nu set background=dark set laststatus=2 set autoindent if has("syntax") syntax on endif }}} == mysql root 암호 설정하기 == mysqladmin -u root password new-passwd == dos2unix and unix2dos == '''해결1:''' alias unix2dos='recode lat1..ibmpc'[[BR]] alias dos2unix='recode ibmpc..lat1' '''해결2:''' {{{#!vim sh #!/bin/bash [ -z $1 ] && { echo "d2u - converts DOS text to Unix."; echo \ "Syntax: d2u (dosfile) unixfile"; exit } cat $1|tr -d '\015' }}}