[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is it correct to specific a path name like this



On Fri, 13 Jun 2003 try_email_me@yahoo.ca wrote:

> Hi everyone,
>
> $PDB=~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb
> $PDB="~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb"
> $PDB='~/.kde/share/apps/kpilot/DBBackup/Cool Joe/AddressDB.pdb'
>
> ls $PDB
>
> give me error.  is there a way or no way?

You can try someting like

/path/to/dir\ space/

Basically you can escape the space by putting a \ infront of it. Try do a
tab completion in bash to see what I mean

Rgds


Rus
--
www: http://www.65535.net       | Hosting - Shell Accounts
MSNM: support@65535.net		| Virtual Servers from just $15/mo
e: rghf@65535.net               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product



Reply to: