I know this is a basic question, but I just started using Cygwin and I’m having trouble creating new C files and new files in general. I tried cygstart filename.c and it kept saying “file not found”.
I know this is a basic question, but I just started using Cygwin and
Share
If you just want an empty file
foo.c, thentouch foo.c.Although if you want to edit it in a text editor, you generally don’t have to create a new file beforehand. For example, you could just say
emacs foo.corvim foo.c, even iffoo.cdoesn’t exist yet. This is assuming you have theemacsorvimpackages installed in Cygwin, of course.