1

I've seen so many cyg prefixed things like cygstart, cygpath, cygwin etc., but what exactly does this prefix mean?

3 Answers 3

2

Cygnus solutions was a company that provided commercial support for free software, they were founded in 1989 and merged with Redhat in 2000. The name was apparently a recursive acronmy for "Cygnus, your GNU Support".

They were a major contributor to free software, but their most famous project was Cygwin. Cygwin is a posix compatibility layer for Windows and a port of the GNU software stack to said compatibility layer.

Cygwin used the "cyg" prefix as a naming convention for cygwin-specific functionality, for example.

  • "/cygdrive/" is used as a path prefix to allow acess to files outside the cygwin root.
  • "cygstart" is an application similar to the windows "start" program used to start GUI apps from the command line but integrated with cygwin.
  • "cygpath" is a tool to convert between windows paths and posix style paths.

The MSYS2 environment used by the likes of "Git bash", borrows some code and conventions from cygwin (though other conventions are different, for example MSYS2 uses /c for the C: drive rather than /cygdrive/c ) and so you will see "cyg" prefixes there too.

3
  • Seems like Git Bash uses MinGW64, is The MSYS2 environment used by the likes of "Git bash" inaccurate?
    – Wenfang Du
    Commented Dec 2, 2021 at 7:09
  • See also: The difference between MSYS2 and MinGW.
    – Wenfang Du
    Commented Dec 2, 2021 at 7:13
  • 1
    My reading of that link is that the "git bash" environment is a mixture of pure mingw programs and msys2 programs.
    – plugwash
    Commented Dec 2, 2021 at 12:51
0

cyg comes from Cygnus. Refer this link: https://en.wikipedia.org/wiki/Cygnus_Solutions

0

CYG derives from the Company "Cygnus Solutions". From Wikipedia:

Cygwin began in 1995 as a project of Steve Chamberlain, a Cygnus engineer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .