Originally posted by jrdioko
The following is from "man ls" (type "man command" to see information about command):
The "." directory is the one you're currently in. For example, to move the file "foo" in the directory "/home/me" to the directory you're currently in, whatever that might be, type "mv /home/me/foo ."
When the -l option is given, each list is preceded by a summary line giving the total size of all files in the list, measured in semi-kilobytes (512 B).
The ".." directory is one back from the one you're currently in. If you're in /home/me/foo/bar and you type "cd .." you'll be moved to /home/me/foo. If you then type "cd ../.." you'll be moved to /home.
thx man........ I didn't notice that it exists in the man of ls........
I already knew about the "." and ".." , thx anyway.....
but I was guessing that the "ls -l" was counting a folder for 2 (when I mkdir a new dir and do ls -l again) as the counting of the "." and ".." of each folder
I see that it's wrong after the post you've given....
thx for juanbobo too......
is there anyway I can close this topic since it's solved?