Enviornmental Variables:
cygwin will pick up Windows environmental variables, and expand them. Ensure that the variables are set at the SYSTEM level as opposed to the USER level (otherwise they wills stay as %VARIABLE%)
Clearing the screen
CTRL- L
and put this into .bashrc: alias cls='echo -e "E[2J"'
.bashrc
.bashrc is called whenever a new shell is started:
alias ll='ls -alp'
alias dir=llalias cls='echo -e "E[2J"'
alias clear=clsexport CYGWIN_ROOT_OFFSET=/cygdrive/c
.profile
executed whenever a user logs in (but doesn't execute .bashrc) so:
linking
Use links to things off "Program files" etc to avoid spaces / vs issues etc.
eg from home (~) dir:
ln -s '/cygdrive/c/Program Files/Apache Software Foundation/Tomcat 5.5/webapps' webapps