You could write a script to do this, but I see little advantage.
The chown command takes at least three parameters the user, group and the objects to change.
If you wrote a chown script, you would still need to provide these. If you want to issue the command multiple times, you would be better off to use an existing utility like SED.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.