Re: Squeeze. Can't cd in directory which begin with .[dot]
Mark Goldshtein <mark.goldshtein <at> gmail.com> writes:
> On Mon, Oct 4, 2010 at 7:16 PM, Kousik Maiti <kousikster <at> gmail.com> wrote:
> > Hello Mark
> > Try from $HOME directory
> > $cd .wine
> >
>
> Oh, Thanks! It works!
>
> What was that? :)
. (dot) is the current working directory and / (slash) is the pathname
separator (on UNIX). So ./wine is actually a path where the first
component is the current working directory and the second component is
"wine", so you're saying "the file named 'wine' in the current working
directory". ".wine" is a filename beginning with a dot.
If you're still confused, try these commands...
$ ls -a
$ ls .
$ ls ./
$ ls ..
(.. (dot dot) is the parent directory)
--Aidan
Reply to: