Linked Questions

45
votes
2answers
38k views

What is the number between file permission and owner in ls -l command output? [duplicate]

The output of ls -l command yields the following result: What is the number field between file permission and owner? i.e. what are those 1, 1, 1, and 2? I checked the --help but that doesn't explain ...
4
votes
2answers
16k views

Meaning of "l" in "lrwxr-xr-x"? [duplicate]

According to this website: http://ss64.com/bash/ls.html The first letter indicates the file type: f means file and d means directory. But in my case I've an l. What's the meaning of this l? In my ...
2
votes
2answers
21k views

What's meaning of the `d` and `t.` of the `drwxrwxrwt.` in linux? [duplicate]

In the / directory, I use: ls -alFd /tmp to check the /tmp directory permissions and I get drwxrwxrwt. I know rwxrwxrw means user, group, other permissions are read, write and execute. But I ...
-11
votes
1answer
11k views

What does the output of ls -l mean? [duplicate]

I'm wondering, what this particular entry of the output of ls -l means. Could someone please explain the meaning of the fields? -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash
2
votes
0answers
2k views

What does the columns of the output of ls -la signify? [duplicate]

When I enter the command: $ ls -la some_directory It gives the output: drwx------. 5 user1 user1 1418 Mar 7 11:17 some_directory What does the dot behind drwx------ signify? What does the 5 before ...
-2
votes
1answer
317 views

What do you understand by this line "dr-- -w- --x file" [duplicate]

As far my assumption it is related to directory but after that i cannot understand the remaining pattern
7
votes
4answers
13k views

When moving current directory I get "mv: cannot move `.' to `../dir/.': Device or resource busy"

$ mv . ../general/ mv: cannot move `.' to `../general/.': Device or resource busy Does it mean that the current directory is a busy device or resource, and can't be moved away? Why is it?
9
votes
3answers
2k views

How to find what the fields in ls -l mean [closed]

My question is not what each field means, my question is how to determine what each field means. The man page simply states -l use a long listing format without describing what the long listing ...
2
votes
2answers
5k views

Redis logfile permission error, but the permission is already 777

gentoo /var/log/redis # ls -al total 8 drwxrwxr-x 2 root redis 4096 12月 3 16:05 . drw-rw-r-- 5 root root 4096 12月 3 15:57 .. -rwxrwxrwx 1 redis redis 0 12月 3 16:05 redis.log gentoo /var/log/...
4
votes
1answer
405 views

What does "?" means in ls -l output? [duplicate]

I saw a few files/dir are inaccessible even to the root user: find: ‘/run/user/1000/gvfs’: Permission denied. So I went a level deeper and ran ls -l; below is the output. /run/user/125# ll ls: cannot ...
7
votes
1answer
386 views

Why is the first field in 'ls - l' not a 'f' when viewing a file? [closed]

When I do 'ls -l', I might get something like this: -rw-r--r-- 1 root root 209 Mar 30 17:41 fname The first field is the -, which means this is a file. If it was a directory and not a ...
1
vote
1answer
2k views

Please explain the output of the ls -all command

This is one of the many similar lines from the output from ls -all lrwxrwxrwx 1 subhrcho dba 25 Dec 6 01:36 beam-server.jpr -> .ade_path/beam-server.jpr What does the above signify ? I am ...
0
votes
2answers
91 views

Why is there a minor number in /dev for directories such as pts?

This is a part of /dev in CentOS 6.6. What is the meaning of the minor number for directories like ., .. , bsg, block and ... ? drwxr-xr-x. 18 root root 3800 Jul 3 06:00 . dr-xr-xr-x. 21 root ...
1
vote
1answer
136 views

How can I know the type of each element in the output of ls -l?

I was checking what exactly each field is in the output of ls -l. The example in this post solves my question. But again I'm wondering what type of each field is. The strings are obvious. But how ...
2
votes
0answers
66 views

In an NTFS filesystem, does hardlink count, as reported by ls and stat, include other link types as well as hardlinks

Does NTFS count other link types with the same counter it uses for hardlinks? Or does Linux include other link types when it calculates hardlink count in an NTFS filesystem? I have an NTFS filesystem ...

15 30 50 per page