Ken-Bergen wrote:joeyc wrote:This is what I got
- Code: Select all
[root@localhost Decapitated]# ls -lai The\ Negation/
total 4
15962 drwx------ 1 joey joey 4096 Dec 30 21:01 ./
15603 drwx------ 1 joey joey 0 Dec 13 23:33 ../
In Linux just as in Windows when working from the command line directory's and files with spaces in the name must be enclosed in quotes.
In your example the command is looking for the directory The\ which doesn't exist however "The\ Negation" will be found.
Ken-Bergen, there's no fault here, I believe. joeyc may correctly specify
The\ Negation, escaping the space with a backslash, or
"The Negation", escaping the space and the rest of the characters (which do not need escaping here) with doublequotes. I think you misunderstood something.