SSH chmod command

If you wish to edit the ownership permissions of your Files / Directories you can use SSH chmod command. The topic of ownership is quite vast and we won’t discuss it in here, but we will show you the basic usage of this command so you can easily modify files and folders with the right permissions. In this knowledgebase article, we will show you the basic usage of the SSH chmod command.

cPanel Hosting from WebhostFace

Basic SSH chmod command usage

chmod 644 myFile.txt
chmod 755 myDirectory

You can also specify each flag for chmod

chmod +x myScript.sh
chmod -x index.php

Experiment with different SSH commands for Beginners and Experts. Get an SSH Shared Hosting package with 40% discount OFF the regular price or an SSD VPS machine or a Dedicated Server to master your Linux knowledge now.