Cygwin Commands

Buchbinder, Barry (NIH/NIAID) [E]
Thu May 17 22:43:00 GMT 2012

Max wrote on May 17, 2012 5:37 PM

I fully agree with Otto.  You need to learn more (and to learn
it elsewhere) before you will be ready to pose questions in
this forum.

But to explain.

> admin@mypc ~
> $cd
> admin@mypc ~
> $

The ~ represents your home directory.

You started in your home directory.

cd with no argument goes to your home directory.

You stayed where you were.

The command behaved as expected.

> admin@mypc ~
> $dir
> admin@mypc ~
> $

dir (essentially identical to ls) run in a directory lists the files
in that directory, omitting files starting with a period unless one
types in "dir -a".

It looks like you do not have any files in your home directory that
do not start with a period.

Note:  That you used DIR and not ls suggest that you are coming with
a DOS/Windows background.  Working in a cygwin environment is
different.  Be prepared.  Try not to make assumptions.

So nothing is wrong.  But you didn't know enough to know that.  That
means that you've an awful lot to learn.  Depending on why you want
to use cygwin, you may or may not find the rewards to be worth the

Good luck,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list