I'm currently logged in as root, and I want to switch ownership of files to the xyz user. How can I do that using chown?
chown xyz file1 file2 file3 for single files and directories
chown xyz file1 file2 file3
chown -R xyz dir1 for recursive directories
chown -R xyz dir1
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
1 year ago