chown command
Purpose: Change the owner or group of a file. The command is composed of the word change owner.
Modify file owner: chown -R username (:group) file
chmod command
Command name: chmod
Access: All users
How to use: chmod [-cfvR] [--help] [--version] mode file…
View port usage netstat
netstat -a to view connected ports
netstat -ap to view all service ports
netstat -ap|gerp port View the specified port