D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] how do iI cd into a directory with spaces??




As I understand it, its a matter of how it interpets the quoted string.

eg:
[chas@xxxxxx chas]$ FOO=moomoo
[chas@xxxxxx chas]$ echo '$FOO'
$FOO
[chas@xxxxxx chas]$ echo "$FOO"
moomoo

Alex.

On Thu, 23 May 2002, kevin bailey wrote:

hi theo,

i thought single quotes were used in shell commands

#find / -name 'some_file*' -print

etc.

i think both double and single quotes work - what is the difference 
between them,

thanks,

kev



--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly