iTerm
Open a new window of non-default profile
found here :https://groups.google.com/forum/#!topic/iterm2-discuss/0UQPRYza5VA
Use cmd-control-option-1 to open a new window for the a profile with the shortcut ctrl-cmd-1.
---
My iTerm Notes
# some more ls aliases
alias ll='ls -alFG'
alias la='ls -AG'
alias l='ls -CFG'
--------------------------------------
ps -aux | grep mysql
--------------------------------------
For file sizes: du -chs
To display the files in order of
size run: du -h | sort -h
--------------------------------------
find . -name ".svn" -exec rm -rf {} \;
-----------------------
tar -pczf name_of_your_archive.tar.gz /path/to/directory
----------------------
mysql --verbose --user=root --password=********* www < www_dump-2.sql
----------------------
ifconfig [-C] [-L] interface address_family [address [dest_address]]
[parameters]
ifconfig interface create
ifconfig -a [-C] [-L] [-d] [-m] [-u] [-v] [address_family]
ifconfig -l [-d] [-u] [address_family]
ifconfig [-C] [-L] [-d] [-m] [-u] [-v]
====================
SVN Cleanup
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 2775 {} \;
sudo chown -R joeb:www-data .
locally
sudo chown -R joeb:staff .
For drupal sites change the first command to
sudo find . -type f -exec chmod g+w {} \;