This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cygwin Commands


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
effort.

Good luck,

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


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]