So I got a new Dell through work with Vista installed. Naturally one of the first things I did was install cygwin so I can use mintty. This gives me a decent terminal on widnows. If you don’t know what those are, I encourage you to give them a shot.
Anyway, having used [...]
.bash_profile, .profile, .bash_rc …
if [ "$PS1" != "" ]; then
PROMPT_COMMAND=’echo -ne "\033]0;${HOSTNAME}: ${PWD}\007"’
PS1="[\e[1;33m\u::${HOSTNAME} \t\[\e[1;35m\e[0m\]]$ "
fi
alias ls=’ls -G’
alias ll=’ls -l’
alias la=’ll -a’
alias env=’env | sort’
alias ..=’cd ..’
alias :e=vim
alias grepr=’grep -rHn’
# finds and removes the ._ files that textmate creates
alias findmatefiles=’find . -name ._*’
alias rmmatefiles=’find . -name ._* -exec [...]
Here are some things I have done in the past to pull data out of log files. I find myself referring to this list from time to time to remember how I did things in the past.
Real Queries That May Need To Be Repeated
ATT YIH upgrades in the month of 200709
$ listysftclog 200709* | [...]