RE: how to access a directory whose name have space?

2002-09-05 Thread Carter, Shaun G

cd Start\ Menu 

will also work

-Original Message-
From: Brenden Walker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 2:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: how to access a directory whose name have space?


Or: cd Start* should work as well.


> -Original Message-
> From: Gary A. Garibaldi [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, September 03, 2002 8:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to access a directory whose name have space?
> 
> 
> Form the command line type the first word and press tab will 
> add the second word also just cd "Start Menu" they should both work.
> -- 
> 
> Thank you.
> -
> Gary A. Garibaldi
> RedHat 7.3
> Registered Linux User: 188550; Machine 111760
> 
> 
> On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> > for example: A directory name Start Menu
> > I can not use cd Start Menu
> > how can I access files in this Directoy?
> > 
> > Thanks
> > 
> > 
> > Jianping Zhu
> > Department of Computer Science
> > Univerity of Georgia
> > Athens, GA 30602
> > Tel 706 5423900
> > 
> > 
> > 
> > 
> > --
> > redhat-list mailing list
> > unsubscribe 
> mailto:[EMAIL PROTECTED]?> subject=unsubscribe
> > 
> 
https://listman.redhat.com/mailman/listinfo/redhat-list
> 




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: how to access a directory whose name have space?

2002-09-05 Thread Brenden Walker

Or: cd Start* should work as well.


> -Original Message-
> From: Gary A. Garibaldi [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, September 03, 2002 8:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to access a directory whose name have space?
> 
> 
> Form the command line type the first word and press tab will 
> add the second word also just cd "Start Menu" they should both work.
> -- 
> 
> Thank you.
> -
> Gary A. Garibaldi
> RedHat 7.3
> Registered Linux User: 188550; Machine 111760
> 
> 
> On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> > for example: A directory name Start Menu
> > I can not use cd Start Menu
> > how can I access files in this Directoy?
> > 
> > Thanks
> > 
> > 
> > Jianping Zhu
> > Department of Computer Science
> > Univerity of Georgia
> > Athens, GA 30602
> > Tel 706 5423900
> > 
> > 
> > 
> > 
> > --
> > redhat-list mailing list
> > unsubscribe 
> mailto:[EMAIL PROTECTED]?> subject=unsubscribe
> > 
> 
https://listman.redhat.com/mailman/listinfo/redhat-list
> 




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-05 Thread Gary A. Garibaldi

Form the command line type the first word and press tab will add the
second word also just cd "Start Menu" they should both work.
-- 

Thank you.
-
Gary A. Garibaldi
RedHat 7.3
Registered Linux User: 188550; Machine 111760


On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> for example: A directory name Start Menu
> I can not use cd Start Menu
> how can I access files in this Directoy?
> 
> Thanks
> 
> 
> Jianping Zhu
> Department of Computer Science
> Univerity of Georgia 
> Athens, GA 30602
> Tel 706 5423900
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread Todd A. Jacobs

Enclose the full path in quotes, or escape the spaces with backslashes.


-- 
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."

- Holly, JMC Vessel *Red Dwarf*



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 3 Sep 2002, smoke wrote:
> how about
> a file named
> 
> "-zf"

  rm -- -zf

The double dash "--" tells rm that there are no more options. Everything
that follows is an argument (a file name). This method works for many other
commands.

Tony
- -- 
Anthony E. Greene 
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05  HomePage: 
Linux: the choice of a GNU Generation. 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9dhlZpCpg3WyUI50RAsifAKCbfN49JEIY6+TDXKpo7TlCDCEBTACgzgdJ
/DpQ2dqShbq66YbPdjPPc7U=
=BPjj
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread jkk

Or use escape sequence. For bash:

$ cd Start\ Menu

jkk
*
* jan k.kaminski, nucl.med.dept, med.univ. of lodz  *
* pgpkey http://w4u.am.lodz.pl/~jkk/*
* BC02 E8F1 7FAE 1138  9182 F56D BC5A 4059 **
--
At 2002-09-04 05:27 -0400, you wrote:
>Put the directory in quotes:
>$cd "Start Menu"
>works
>
>Mark
>
>On Tue, 3 Sep 2002, Jianping Zhu wrote:
>
> > for example: A directory name Start Menu
> > I can not use cd Start Menu
> > how can I access files in this Directoy?
>
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
>https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread Mike Burger

Nertz...I knew that...just couldn't remember it to tell smoke.

On Wed, 4 Sep 2002, Michael Fratoni wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Wednesday 04 September 2002 12:00 am, smoke wrote:
> > how about
> > a file named
> >
> > "-zf"
> >
> > i cant delete it, it was created from a wrong tar
> > command.
> 
> If the name is really "-zf" (with qoutes) use:
> rm \"-zf\"
> 
> If it has no quotes:
> rm ./-zf



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread Mike Burger

Ack...that one I'm having a little moretrouble with. 

On Tue, 3 Sep 2002, smoke wrote:

> how about
> a file named
> 
> "-zf"
> 
> i cant delete it, it was created from a wrong tar
> command.
> 
> thanks!
> 
> 
> --- Mike Burger <[EMAIL PROTECTED]> wrote:
> > Another way is to put the directory/file name in
> > quotes.
> > 
> > less "file name"
> > 
> > ls "directory name"
> > 
> > cd "/path/to/directory name"
> > 
> > etc.
> > 
> > On 3 Sep 2002, Samuel Flory wrote:
> > 
> > > On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> > > > for example: A directory name Start Menu
> > > > I can not use cd Start Menu
> > > > how can I access files in this Directoy?
> > > > 
> > > 
> > > For file with hard to type names you can always
> > try tab completion.  On
> > > the plus side you can see what you would have
> > needed to type.
> > > 
> > > example:
> > > cd Start
> > > 
> > > Also midnight commander can generally handle it. 
> > Try typing "mc" at the
> > > command line.
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe
> >
> mailto:[EMAIL PROTECTED]?subject=unsubscribe
> >
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-04 Thread Mark Neidorff

Put the directory in quotes:
$cd "Start Menu"
works

Mark

On Tue, 3 Sep 2002, Jianping Zhu wrote:

> for example: A directory name Start Menu
> I can not use cd Start Menu
> how can I access files in this Directoy?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread Michael Fratoni

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 04 September 2002 12:00 am, smoke wrote:
> how about
> a file named
>
> "-zf"
>
> i cant delete it, it was created from a wrong tar
> command.

If the name is really "-zf" (with qoutes) use:
rm \"-zf\"

If it has no quotes:
rm ./-zf

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3} in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj11iMMACgkQn/07WoAb/SuL3QCgmvVIAYBh8CrxtCE95P0WRDis
fKYAn0G8ITEIkgXwuWa3vEMjE6U1t+x9
=sHYd
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread smoke

how about
a file named

"-zf"

i cant delete it, it was created from a wrong tar
command.

thanks!


--- Mike Burger <[EMAIL PROTECTED]> wrote:
> Another way is to put the directory/file name in
> quotes.
> 
> less "file name"
> 
> ls "directory name"
> 
> cd "/path/to/directory name"
> 
> etc.
> 
> On 3 Sep 2002, Samuel Flory wrote:
> 
> > On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> > > for example: A directory name Start Menu
> > > I can not use cd Start Menu
> > > how can I access files in this Directoy?
> > > 
> > 
> > For file with hard to type names you can always
> try tab completion.  On
> > the plus side you can see what you would have
> needed to type.
> > 
> > example:
> > cd Start
> > 
> > Also midnight commander can generally handle it. 
> Try typing "mc" at the
> > command line.
> > 
> > 
> > 
> > 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:[EMAIL PROTECTED]?subject=unsubscribe
>
https://listman.redhat.com/mailman/listinfo/redhat-list


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread Mike Burger

Another way is to put the directory/file name in quotes.

less "file name"

ls "directory name"

cd "/path/to/directory name"

etc.

On 3 Sep 2002, Samuel Flory wrote:

> On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> > for example: A directory name Start Menu
> > I can not use cd Start Menu
> > how can I access files in this Directoy?
> > 
> 
> For file with hard to type names you can always try tab completion.  On
> the plus side you can see what you would have needed to type.
> 
> example:
> cd Start
> 
> Also midnight commander can generally handle it.  Try typing "mc" at the
> command line.
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread Samuel Flory

On Tue, 2002-09-03 at 09:18, Jianping Zhu wrote:
> for example: A directory name Start Menu
> I can not use cd Start Menu
> how can I access files in this Directoy?
> 

For file with hard to type names you can always try tab completion.  On
the plus side you can see what you would have needed to type.

example:
cd Start

Also midnight commander can generally handle it.  Try typing "mc" at the
command line.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: how to access a directory whose name have space?

2002-09-03 Thread Bob Buckley

enclose the name in quotes cd "Start Menu"
BobB

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jianping Zhu
Sent: Tuesday, September 03, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: how to access a directory whose name have space?


for example: A directory name Start Menu
I can not use cd Start Menu
how can I access files in this Directoy?

Thanks


Jianping Zhu
Department of Computer Science
Univerity of Georgia 
Athens, GA 30602
Tel 706 5423900




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread Dave Ihnat

On Tue, Sep 03, 2002 at 12:18:53PM -0400, Jianping Zhu wrote:
> for example: A directory name Start Menu
> I can not use cd Start Menu
> how can I access files in this Directoy?

Enclose in quotes, e.g.,

cd "Start Menu"

Cheers,
-- 
Dave Ihnat
[EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to access a directory whose name have space?

2002-09-03 Thread Anthony Abby

On Tue, 2002-09-03 at 12:18, Jianping Zhu wrote:
> for example: A directory name Start Menu
> I can not use cd Start Menu
> how can I access files in this Directoy?
> 
> Thanks


cd "start menu"

Anthony



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list