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
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/...
2
votes
2answers
22k 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 ...
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 ...
7
votes
1answer
387 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 ...
4
votes
1answer
414 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 ...
1
vote
1answer
146 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 ...
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
1answer
39 views

Booted a SD Card to install Mint and cannot change permissions to format it

I recently flashed my SD card to format and reinstall Linux Mint on my machine. Everything went well, but I have learned that SD cards cannot be use as a boot device. The problem now is that I am ...
0
votes
1answer
37 views

Unable to understand the output of /devices/pseudo

When I ls -al /devices/pseudo, I see one entry which I’m not able to understand. crw—w—— 1 8888 tty 24, 58. Apr 11 2016 pts@0:58 Can someone please explain each column for me? Thanks a lot.
-2
votes
1answer
347 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
-10
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
71 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 ...
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 ...

15 30 50 per page