cygcheck
cygcheck
: list system information, check installed packages, or query package database.
cygcheck -p gcc.exe
apparently is equivalent to https://cygwin.com/cgi-bin2/package-grep.cgi?grep=gcc.exe&arch=x86_64
.
cygcheck -f /usr/bin/gcc
seems to get the current version of gcc.
cygcheck /usr/bin/wget
shows depenceny-tree of
wget.
cygpath
cygpath -H
print Cygwin path to
%userprofile% (which is the home directory).
Start a Windows program from with a Cygwin path argument:
notepad $(cygpath -w ~/.bashrc)