Showing posts with label sysadmin tricks. Show all posts
Showing posts with label sysadmin tricks. Show all posts

05 September 2008

nice article: linux backup/reinstall

Linux Get list of installed software for reinstallation / restore software
http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html

02 September 2008

my nice .vimrc

syntax on
set number
colorscheme delek

au FileType python source ~/.vim/scripts/python.vim

"highlight RedundantSpaces ctermbg=red guibg=red"
""match RedundantSpaces /\s\+$\| \+\ze\t\|\t/"
" line numbers on/off ctrl+n ctrl+n"
:nmap :set invnumber
" "autoindent on/off"
:nmap :set invautoindent
" " Suche NICHT case-senitiv, außer ein Grossbuchstabe steht im Suchmuster"
" " SmartCase, SMARTcase, smartCASE, SmArTcAsE, sMaRtCaSe, smartcase"
set ignorecase
set smartcase
" " Während Eingabe eines Suchmusters bereits suchen (inkrementell)"
" " Alle zu einem Suchmuster passenden Textstücke markieren (highlight)"
set incsearch
set hlsearch
"
:map :nohl
:imap :nohl i
":map :w!:!ispell -d ngerman -w ÖÄÜöäüß %:e! %

13 August 2008

useful commands in the unix world part 1

This list will be sporadically updated...

history | awk '{print $2}' | sort | uniq -c | sort -rn | head

file /path/to/file

Some links: