How to check the group of linux file


 description

In the Linux system, view the group where the file is located through the command line. The fifth column of the running result is the group where the file is located.

 command

ls -l

 parameter

ll :  List information about files (default is the current directory)
-l :  use long list format

 result

total 0
d--------- 2 root root 56 Jul  3  2021 test
-rw-r--r-- 1 root root  0 Jan  7 12:06 testFile
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.