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

CYGWIN

Created by mpecher. Last edited by mpecher, one year and 170 days ago. Viewed 267 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
Please login to post a comment.

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< September 2010 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930


Logged in Users: (0)
… and 25 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.