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

CYGWIN

Created by mpecher. Last edited by mpecher, 2 years and 321 days ago. Viewed 491 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


< February 2012 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
26272829


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