Main Menu

Search

LINUX: FIND COMMAND TO LIST USER GROUP OF ALL SUB DIRECTORIES IN A DIRECTORY 

Following is command to use.

find -printf "%u %g %h/%d\n" | sort 

Following is sample output of above command.

 root root ./0 
root root ./1 
root root ./1 
root root ./1 
root root ./1 
root root ./1 
root root ./1 

 


Products to which Article Applies

All Linux Operating Systems 

Search Keywords: linux unix find finding user users group groups list listing in particular directory directories command commands

Article Author: Tarun Boyella

 

No comments:

Post a Comment