Hello. My name's Kate. I love Linux, WordPress - own a WordPress dedicated design studio, a beginner entrepreneur who co-founded Asia software company. This is where i blog about Linux, WordPress, daily life and other interesting stuff
Status: available

You are on the Nineteen Labs » Change file owner and group in one ’stroke’ article.

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

Share : These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • SphereIt
  • BlinkList
  • Reddit
  • StumbleUpon

Leave a Reply

This site powered : WordPress. Made with PC (sorry, MAC), Coffee and Tofu