Re: [expert] spaces and command line

2001-09-17 Thread Pierre Fortin

"David E. Fox" wrote:
> 
> Sometimes putting double quotes around the filename helps too. In some
> cases, you can put a left double quote then use tab completion to call up
> the right file, then append another double quote.

or even ignore the '"' and just use tab-completion which will add backslashes as
needed.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] spaces and command line

2001-09-16 Thread David E. Fox

> when you cd to a directory that has spaces in its name, you have to
> escape
> the spaces with a back slash, e.g.:

Sometimes putting double quotes around the filename helps too. In some
cases, you can put a left double quote then use tab completion to call up
the right file, then append another double quote.

> David Charles

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] spaces and command line

2001-09-16 Thread jipe



Al Andersen wrote:

>Am I the only one who uses quotes? i.e., 
>
>#cd "to directory with a spaces in the name"
>
>
no, but in this case cd to*name is easier to use ;-)

by
jipe




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] spaces and command line

2001-09-16 Thread Ron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 16 September 2001 08:22 am, FLYNN, Steve wrote:
> Backquote them.
>
> For example
>
> cd A\ directory\ with\ spaces

Why not just use double-quotes?
  cd "A directory with spaces"

> Don't forget you can always uses filename completion by typing part
> of the name and hitting tab.
>
> As for scrolling back up console screens, you can use SHIFT-ARROW-UP
> or PAGE-UP
>
> Steve Flynn
> NOP Data Migration Ops Analyst
> * 01603 687386
>
>
>   -Original Message-
>   From:   Mike & Tracy Holt [SMTP:[EMAIL PROTECTED]]
>   Sent:   Sunday, September 16, 2001 7:23 AM
>   To: [EMAIL PROTECTED]
>   Subject:[expert] spaces and command line
>
>   I've got a couple of newbie questions that I've just never really
>   bothered asking before but it's always bothered me, so here goes.
> 1st,
>   I've noticed that bash doesn't seem to handle spaces in directory or
>   file names very well.  When I look at my windows partitions from
> linux,
>   I can see the complete file names, but when I try to 'cd' to a
> certain
>   directory, bash doesn't seem to deal to well with the spaces.  I've
>   found that I can just use an asterisk in place of the spaces, but is
>   there another way?
>
>   2nd, if I'm at the command line, no X server involved, is there a
> way to
>   'scroll' up to see what stout was previously on the screen?  Say I
> do
>   'ls' and then do some other stuff and lose that information, is
> there
>   anyway to retrieve that screen or is it just printed once and lost?
>
>   
>   Mike & Tracy Holt
>   Kirkland, WA
>   [EMAIL PROTECTED]
>   
>
>
>
><< File: message.footer >>
>
>
> *
>* This email and any files sent with it are intended only for the
> named recipient. If you are not the named recipient please
> telephone/email the sender immediately. You should not disclose the
> content or take/retain/distribute any copies.
> *
>*
>
>
> Norwich Union Life & Pensions Limited
> Registered Office 2 Rougier Street
> York YO90 1UU
> Registered in England Number 3253947
> A member of the Norwich Union Marketing Group
> which is regulated by the Personal Investment Authority.
> Member of the Association of British Insurers.
>
> For further Enquires 01603 622200

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]   |
| Jefferson, LA  USA |
||
| "Those who would give up essential Liberty to purchase a   |
|  little temporary safety, deserve neither Liberty nor  |
|  safety."  |
|   Ben Franklin |
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7pOIKjTz5dS9Us5wRAuWKAJsFMoJWJc4zOwNdLWb5GTTmzgJO3QCfaE7u
7PYTA4VbzcOTET4A0tG6fnc=
=xC+i
-END PGP SIGNATURE-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] spaces and command line

2001-09-16 Thread Mike & Tracy Holt








Thank you!

 



-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of jipe
Sent: Sunday, September 16, 2001 9:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] spaces and
command line

 



Mike & Tracy Holt wrote:



Thanks!

Hi,

when you cd to a directory that has spaces in its name, you have to

escape

the spaces with a back slash, e.g.:

[/]$ cd dir\ name\ with\ spaces\ in\ name
[/dir name with spaces in name]$

as for scrolling up, try SHIFT+PGUP.

HTH,
David Charles





u can also replace all
spaces with ? (most appropriate) or *
or simply type some letters of the directory and use some *
to go to "my mp3 directory"  -> cd my*ry or cd *mp3* can run
fine if no other directory in the parent directory uses the same chains of
characters in its name.

bye
jipe












Re: [expert] spaces and command line

2001-09-16 Thread jipe





Mike & Tracy Holt wrote:
01c13e91$be4fded0$0200a8c0@matrix">
  Thanks!
  
Hi,when you cd to a directory that has spaces in its name, you have to

escape

  the spaces with a back slash, e.g.:[/]$ cd dir\ name\ with\ spaces\ in\ name[/dir name with spaces in name]$as for scrolling up, try SHIFT+PGUP.HTH,David Charles
  
  
  
u can also replace all spaces with ? (most appropriate) or *
or simply type some letters of the directory and use some *
to go to "my mp3 directory"  -> cd my*ry or cd *mp3* can run fine if no
other directory in the parent directory uses the same chains of characters
in its name.
  
bye
jipe
  
  
  
  


RE: [expert] spaces and command line

2001-09-16 Thread FLYNN, Steve

Backquote them.

For example

cd A\ directory\ with\ spaces

Don't forget you can always uses filename completion by typing part of the
name and hitting tab.

As for scrolling back up console screens, you can use SHIFT-ARROW-UP or
PAGE-UP

Steve Flynn
NOP Data Migration Ops Analyst
* 01603 687386


-Original Message-
From:   Mike & Tracy Holt [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, September 16, 2001 7:23 AM
To: [EMAIL PROTECTED]
Subject:    [expert] spaces and command line

I've got a couple of newbie questions that I've just never really
bothered asking before but it's always bothered me, so here goes.
1st,
I've noticed that bash doesn't seem to handle spaces in directory or
file names very well.  When I look at my windows partitions from
linux,
I can see the complete file names, but when I try to 'cd' to a
certain
directory, bash doesn't seem to deal to well with the spaces.  I've
found that I can just use an asterisk in place of the spaces, but is
there another way?

2nd, if I'm at the command line, no X server involved, is there a
way to
'scroll' up to see what stout was previously on the screen?  Say I
do
'ls' and then do some other stuff and lose that information, is
there
anyway to retrieve that screen or is it just printed once and lost?


Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]




 << File: message.footer >> 


**
This email and any files sent with it are intended only for the named 
recipient. If you are not the named recipient please telephone/email  
the sender immediately. You should not disclose the content or
take/retain/distribute any copies.
**


Norwich Union Life & Pensions Limited
Registered Office 2 Rougier Street
York YO90 1UU
Registered in England Number 3253947
A member of the Norwich Union Marketing Group 
which is regulated by the Personal Investment Authority. 
Member of the Association of British Insurers.

For further Enquires 01603 622200 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] spaces and command line

2001-09-16 Thread Mike & Tracy Holt

Thanks!

> Hi,
> 
> when you cd to a directory that has spaces in its name, you have to
escape
> the spaces with a back slash, e.g.:
> 
> [/]$ cd dir\ name\ with\ spaces\ in\ name
> [/dir name with spaces in name]$
> 
> as for scrolling up, try SHIFT+PGUP.
> 
> HTH,
> David Charles





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] spaces and command line

2001-09-16 Thread ddcharles

Hi,

when you cd to a directory that has spaces in its name, you have to escape
the spaces with a back slash, e.g.:

[/]$ cd dir\ name\ with\ spaces\ in\ name
[/dir name with spaces in name]$

as for scrolling up, try SHIFT+PGUP.

HTH,
David Charles


On Sun, 16 Sep 2001, Mike & Tracy Holt wrote:

> I've got a couple of newbie questions that I've just never really
> bothered asking before but it's always bothered me, so here goes.  1st,
> I've noticed that bash doesn't seem to handle spaces in directory or
> file names very well.  When I look at my windows partitions from linux,
> I can see the complete file names, but when I try to 'cd' to a certain
> directory, bash doesn't seem to deal to well with the spaces.  I've
> found that I can just use an asterisk in place of the spaces, but is
> there another way?
>
> 2nd, if I'm at the command line, no X server involved, is there a way to
> 'scroll' up to see what stout was previously on the screen?  Say I do
> 'ls' and then do some other stuff and lose that information, is there
> anyway to retrieve that screen or is it just printed once and lost?
>
> 
> Mike & Tracy Holt
> Kirkland, WA
> [EMAIL PROTECTED]
> 
>
>
>
>
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] spaces and command line

2001-09-15 Thread Mike & Tracy Holt

I've got a couple of newbie questions that I've just never really
bothered asking before but it's always bothered me, so here goes.  1st,
I've noticed that bash doesn't seem to handle spaces in directory or
file names very well.  When I look at my windows partitions from linux,
I can see the complete file names, but when I try to 'cd' to a certain
directory, bash doesn't seem to deal to well with the spaces.  I've
found that I can just use an asterisk in place of the spaces, but is
there another way?

2nd, if I'm at the command line, no X server involved, is there a way to
'scroll' up to see what stout was previously on the screen?  Say I do
'ls' and then do some other stuff and lose that information, is there
anyway to retrieve that screen or is it just printed once and lost?


Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]

 





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com