Cygwin Commands
Matt Seitz (matseitz)
matseitz@cisco.com
Fri May 18 17:27:00 GMT 2012
> From: max@kalani.com [mailto:max@kalani.com]
> When I enter:
>
> admin@mypc ~
> $cd
>
> admin@mypc ~
> $
The Cygwin/POSIX "cd" command is different from the Windows "cd"
command.
Cygwin/POSIX "cd" without arguments: change the current directory to
the user's "home" directory
Windows "cd" without arguments: display the current directory
The Cygwin/POSIX command to display the current directory is "pwd",
short for "print working directory".
> admin@mypc ~
> $dir
>
> admin@mypc ~
> $
The Cygwin/GNU "dir" command is different from the Windows "dir"
command.
Cygwin/GNU "dir": list files except those that start with a dot (".")
Windows "dir": list files except those with the "hidden" attribute flag
set
The Cygwin/GNU command to list all files, including ones that start with
a dot, is "dir -a" ("a" is short for "all").
You might find the following link useful. It's an introduction to Linux
commands for Windows users. Since Cygwin emulates Linux commands, most
of what it says about Linux commands also applies to Cygwin commands:
http://tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html
--
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
More information about the Cygwin
mailing list