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.