Friday 11, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Saturday, 16 September 2017

chown Linux Command

chown

chown [options] newowner files chown [options] --reference=filename files
Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also accepts users in the form newowner:newgroup or newowner.newgroup. The last two forms change the group ownership as well. If no owner is specified, the owner is unchanged. With a period or colon but no group, the group is changed to that of the new owner. Only the current owner of a file or a privileged user may change the owner.

Options

-c, --changes
Print information about files that are changed.

--dereference
Follow symbolic links.

-f, --silent, --quiet
Do not print error messages about files that cannot be changed.

-h, --no-dereference
Change the ownership of each symbolic link (on systems that allow it), rather than the referenced file.

-v, --verbose
Print information about all files that chown attempts to change, whether or not they are actually changed.

-R, --recursive
Traverse subdirectories recursively, applying changes.

--reference=filename
Change owner to the owner of filename instead of specifying a new owner explicitly.

--help
Print help message and then exit.

--version
Print version information and then exit.

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • chown Linux Command chown chown [options] newowner files chown [options] --reference=filename files Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also … Read More
  • usermod Linux Command usermod usermod [options] user System administration command. Modify user account information. Options -c comment Comment field. -d dir Home directory. -e date Account expiration date. date is in the format MM/DD/YYYY; … Read More
  • locale Linux Command locale locale [options] [name] Print report on current locale settings. Locales determine the country-specific settings for a system, including character encodings, the formatting of dates, honorifics, diagnostic messages,… Read More
  • useradd Linux Command useradd useradd [options] [user] System administration command. Create new user accounts or update default account information. Unless invoked with the -D option, user must be given. useradd will create new entries in syst… Read More
  • sha1sum Linux Command sha1sum sha1sum [option] [files] sah1sum [option] --check [file] Compute or check 160-bit SHA1 checksums to verify file integrity. If the file is not specified, or specified as -, read from standard input. Options -b, --b… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: chown Linux Command Rating: 5 Reviewed By: eHowToNow