[ start | index | login ]
start > Development > CYGWIN

CYGWIN

Created by mpecher. Last edited by mpecher, 356 days ago. Viewed 364 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

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=ll

alias cls='echo -e "E[2J"' alias clear=cls

export CYGWIN_ROOT_OFFSET=/cygdrive/c

.profile

executed whenever a user logs in (but doesn't execute .bashrc) so:
source ~/.bashrc

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
no comments | post comment

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< March 2010 >
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
28293031


Logged in Users: (0)
… and 230 Guests.



Disclaimer: Views and opinions are that of the individual author, and not that of Marand Custom Solutions. This site is an open forum for technical content, and the company accepts no liability for any content or view expressed.