Very good article. I know another way to get ONLY the ownername or groupname with 1 shot:
# stat -c %U /path/to/file
# stat -c %G /path/to/file
These are helpful in writing scripts. More details at:
# man stat
Very good article. I know another way to get ONLY the ownername or groupname with 1 shot:
# stat -c %U /path/to/file
# stat -c %G /path/to/file
These are helpful in writing scripts. More details at:
# man stat