Sometimes, we need to know wich users or groups is in a files structures on linux.
It´s a simple hint, but for me is very useful for migrations, mainly in aplications migrations.
To show owners (users):
find . -printf '%u\n' | sort -t: -u
To show group owners:
find . -printf '%g\n' | sort -t: -u
It´s a simple hint, but for me is very useful for migrations, mainly in aplications migrations.
To show owners (users):
find . -printf '%u\n' | sort -t: -u
To show group owners:
find . -printf '%g\n' | sort -t: -u
Comentários
Postar um comentário