Nathan Wailes - Blog - GitHub - LinkedIn - Patreon - Reddit - Stack Overflow - Twitter - YouTube
Cygwin
Â
Â
How to add a new directory to the PATH
- StackExchange - Change my profile's PATH environment variable on Cygwin
To add MingW to your Cygwin PATH: edit your .profile (in your home directory, so type "vim ~/.profile") and add:
export PATH="/cygdrive/c/mingw/bin:$PATH"
- StackExchange - Do I have to manually update my PATH in Cygwin shells?
Â
Â
Â
Useful commands
- Starting Python:
- If it seems like Python is just hanging when you start it, try doing a Ctrl+C to quit and then type "python34 -i" to start Python in interactive mode.
- List all files in a directory, including hidden files (that start with a "."): ls -a dir_path
Â