File Permission Question
Help me understand this would you?
1. [coop@x1-6-00-a0-cc-5f-d9-d3 Documents]$ ls -l total 8 -rwxrwxrwx 1 coop coop 5943 Jun 15 21:08 Linux stuff.sxc* (What does total 8, what does 1 and what does 5943 stand for. I know the rest.) 2. [coop@x1-6-00-a0-cc-5f-d9-d3 Documents]$ ls -l Linux stuff.sxc ls: Linux: No such file or directory ls: stuff.sxc: No such file or directory I thought $ls -l Linux stuff.sxc would give me the permissions..etc. I thought when I did ls -l Linux stuff.sxc it would give me -rwxrwxrwx ....line So when I do this: [coop@x1-6-00-a0-cc-5f-d9-d3 Documents]$ ls -l This lists what is in the Documents directory with the permission, etc. Thanks. |
Not sure what the portions of it you asked about mean, but I can tell you why it didn't work when you did
ls -l Linux stuff.sxc It's because you have a space in the name, and you need to enter a backslash prior to the space or it thinks you're looking at two different files...one calle Linux and one called stuff.sxc. It would need to look like this: ls -l Linux\ stuff.sxc That's all I've got... Good luck! |
From the info pages of ls (info ls):
Quote:
|
All times are GMT -5. The time now is 08:38 PM. |