ubuntu permission command

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326079516&siteId=291194637