chsh -s /usr/local/bin/bash
Monthly Archives: May 2009
freeBSD gloabal vimrc
/usr/local/share/vim/vimrc
FreeBSD 7.0 – Bash
- Execute cd /usr/ports/shells/bash
- Execute make install clean
- Execute chsh or chsh -s /usr/local/bin/bash
http servers
used by wordpress.com
WordPress.com has this line in its response header: “X-hacker: If you’re reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.”
FreeBSD + GNU userland
http://tomayko.com/writings/gnu-is-killing-solaris
.bashrc
# prefer GNU version of most core utilities (interactive shell only).
alias awk=$(type -p gawk gnuawk awk | head -1)
alias base64=$(type -p gbase64 base64 | head -1)
alias basename=$(type -p gbasename basename | head -1)
alias cat=$(type -p gcat cat | head -1)
alias cp=$(type -p gcp cp | head -1)
alias cut=$(type -p gcut cut | head -1)
alias date=$(type -p gdate date | head -1)
alias diff=$(type -p gdiff diff | head -1)
alias df=$(type -p gdf df | head -1)
alias du=$(type -p gdu du | head -1)
alias false=$(type -p gfalse false | head -1)
alias fmt=$(type -p gdu du | head -1)
alias head=$(type -p ghead head | head -1)
alias join=$(type -p gjoin join | head -1)
alias make=$(type -p gmake make | head -1)
alias md5sum=$(type -p gmd5sum md5sum | head -1)
alias mv=$(type -p gmv mv | head -1)
alias nl=$(type -p gnl nl | head -1)
alias paste=$(type -p gpaste paste | head -1)
alias printf=$(type -p gprintf printf | head -1)
alias readlink=$(type -p greadlink readlink | head -1)
alias rm=$(type -p grm rm | head -1)
alias seq=$(type -p gseq seq | head -1)
alias sha1sum=$(type -p gsha1sum sha1sum | head -1)
alias sleep=$(type -p gsleep sleep | head -1)
alias sort=$(type -p gsort sort | head -1)
alias split=$(type -p gsplit split | head -1)
alias tac=$(type -p gtac tac | head -1)
alias tail=$(type -p gtail tail | head -1)
alias tar=$(type -p gnutar gtar tar | head -1)
alias tee=$(type -p gtee tee | head -1)
alias touch=$(type -p gtouch touch | head -1)
alias tr=$(type -p gtr tr | head -1)
alias true=$(type -p gtrue true | head -1)
alias uniq=$(type -p guniq uniq | head -1)
alias uptime=$(type -p guptime uptime | head -1)
alias wc=$(type -p gwc wc | head -1)
alias who=$(type -p gwho who | head -1)
alias whoami=$(type -p gwhoami whoami | head -1)
alias yes=$(type -p gyes yes | head -1)
backup with DD
full hard disk copy
dd if=/dev/hdx of=/dev/hdy
dd if=/dev/hdx of=/path/to/image
dd if=/dev/hdx | gzip > /path/to/image.gz
dd if=/dev/sda | bzip2 > disk.img.bz2
Restore Backup of hard disk copy
dd if=/path/to/image of=/dev/hdx
gzip -dc /path/to/image.gz | dd of=/dev/hdx
Yahoo spam
My mail is still marked as spam by yahoo. It seems they need domain keys setup. setting up SPF seems to have fixed hotmail. Fingers crossed.
WWW or no WWW
Google Hosted Service
Do I need to change the reverse pointers for my DNS to point to host.TLD or it TLD fine.
should I remap mail.TLD to mx.TLD it would fit better with a.ns.TLD a.mx.TLD
Punktoronto updates
Punktoronto finaly switched to openpress ( wordpress + phpBB). Trying to figure out a phpBB portal was too weird and something it didn’t seem that a lot of people were trying to do.

