Change file owner and group in one ’stroke’
It’s Basic, and i forget this command all the time, use this ‘chown’ in one of servers, i want to (b)log this command :
I am using this command to change a file owner and a group of directory, its subfolders, and its files
chown -R name:group [directory path]
example :
chown -R kate:kate /usr/local/www/directory_name






Leave a Reply