Linux chmod command

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

Basic chmod usage

chmod 644 myFile.txt
chmod 755 myDirectory

You can also specify each flag for chmod

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

 

  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

Linux file command

The file command is used to check a file’s type and contents in Linux environment. It is most...

Linux export command

When you’re managing your shell’s variables and you wish to save them to your environment you can...

Linux su command

The su command is most commonly used to switch to another user. You will then be able to run...

Linux wc command

If you’re interested in finding the word count or lines of a file in your Linux environment you...

Powered by WHMCompleteSolution