Author = Javier González Raya
Presentation
It is the CHMOD command
INDEX
How to use CHMOD
CHMOD - R
CHMOD --version
CHMOD -f
CHMOD --help
Thank you
CHMOD
sudo chmod u=rwx file1.txt sudo chmod 755 file2.txt Is used to give permission and we can do it with octal or letter format.
r = Read permission
w = Write permission
x = Execute Permission In Octal.
0 : No permission 4 : Read 1 : Execution 5 : Read and Execute 2 : Write 6 : Read and Write 3 : Execute and Write 7 : Read , Write and Execute
2 CHMOD - R
The minus R is used to look inside a subdirectory for example. sudo chmod -R 775 ./one/file3.txt You can also use the asterisk (*) to change the permission for the entire directory
3 CHMOD --version
This parameter is used to see the version of chmod that we have installed.chmod --version
4 CHMOD --help
This parameter is used to see the help of everything you can do, such as chmod -R. chmod --help
5 CHMOD -f
This parameter is used to mute error messages. For example. I am going to put directory one and I am going to put a file that does not exist. Without the -f : sudo chmod 775 ./one/file4.txt With the -f : sudo chmod 775 -f ./one/file4.txt
Thank you for your attention
JAVIER GONZALEZ RAYA - 5. Presentation of an Ubuntu command
Javier
Created on March 4, 2021
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Memories Presentation
View
Pechakucha Presentation
View
Decades Presentation
View
Color and Shapes Presentation
View
Historical Presentation
View
To the Moon Presentation
View
Projection Presentation
Explore all templates
Transcript
Author = Javier González Raya
Presentation
It is the CHMOD command
INDEX
How to use CHMOD
CHMOD - R
CHMOD --version
CHMOD -f
CHMOD --help
Thank you
CHMOD
sudo chmod u=rwx file1.txt sudo chmod 755 file2.txt Is used to give permission and we can do it with octal or letter format. r = Read permission w = Write permission x = Execute Permission In Octal. 0 : No permission 4 : Read 1 : Execution 5 : Read and Execute 2 : Write 6 : Read and Write 3 : Execute and Write 7 : Read , Write and Execute
2 CHMOD - R
The minus R is used to look inside a subdirectory for example. sudo chmod -R 775 ./one/file3.txt You can also use the asterisk (*) to change the permission for the entire directory
3 CHMOD --version
This parameter is used to see the version of chmod that we have installed.chmod --version
4 CHMOD --help
This parameter is used to see the help of everything you can do, such as chmod -R. chmod --help
5 CHMOD -f
This parameter is used to mute error messages. For example. I am going to put directory one and I am going to put a file that does not exist. Without the -f : sudo chmod 775 ./one/file4.txt With the -f : sudo chmod 775 -f ./one/file4.txt
Thank you for your attention