- Linux Shell Scripting Cookbook(Third Edition)
- Clif Flynt Sarath Lakshman Shantanu Tushar
- 34字
- 2021-07-09 19:46:28
Changing ownership
The chown command will change the ownership of files and folders:
$ chown user.group filename
Consider this example:
$ chown slynux.users test.sh
Here, slynux is the user, and users is the group.