On Sat, Feb 20, 2010 at 8:59 AM, Dos-Man 64 <[email protected]> wrote:
> Thanks, I thought I read somewhere that either Unix or Linux files
> can't have spaces in the names, but it's one of those things where you
> can't remember what you read or where you read it.

Files definitely can have spaces and other characters:

$ touch foo bar foo\ bar foo$'\n'bar foo$'\t'bar \
foo$'\b'bar f...@bar foo:bar foo*bar

$ ls -1 --show-control-chars
bar
foo
foo bar
foo:bar
f...@bar
foo*bar
fobar
foo     bar
foo
bar

$ ls -1b
bar
foo
foo\ bar
foo:bar
f...@bar
foo*bar
foo\bbar
foo\tbar
foo\nbar

A common topic on linux forums tends to be how to delete or rename
files with these special characters.

Regards,
- Robert

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to