secure copy with failover – rsync & ssh
e.g. rsync -av –progress -e ‘ssh -i /alternate/id/file’ sshusername@host:/directory/or/file /destination/directory/or/file – should the copy process terminated through the half way, just run the exact command again and it will continue from the file is failed previously, without copying again starting…
iTerm resize the window itself when using screen
Bookmarks –> Manage Profiles –>Â Terminal Profiles –> Default check “Disable session-initiated window resizing”.
how to search search & delete line in vi editor
the below command in vi editor will remove the whole line that contains the word “search-keywords” on the entire file. :g/search-keywords/d
installing postgresql 8.2 on Leopard with macports
postgresql! one of my favorite high performance open source db, of course i have it running on my mac. compiling postgresql with macports isn’t that hard, follow the step below will guide you through the installation; first of all, make…
Problem Upgrade Apache2 on MacPorts
I was trying to upgrade apache2 on my Macports but keep on getting these error messages which really annoy me; Undefined symbols: “_ap_ugly_hack”, referenced from: _ap_ugly_hack$non_lazy_ptr in libmain.a(main.o) “_ap_prelinked_module_symbols”, referenced from: _ap_prelinked_module_symbols$non_lazy_ptr in libmain.a(core.o) “_ap_prelinked_modules”, referenced from: _ap_prelinked_modules$non_lazy_ptr in libmain.a(main.o)…
Recent Comments