Chgrp: Redaktələr arasındakı fərq
Naviqasiyaya keçin
Axtarışa keçin
Silinən məzmun Əlavə edilmiş məzmun
Redaktənin izahı yoxdur Teq: 2017 viki-mətn redaktoru |
k Bot: Replace deprecated <source> tag and "enclose" parameter; kosmetik dəyişmələr |
||
Sətir 5: | Sətir 5: | ||
== Nümunə == |
== Nümunə == |
||
< |
<syntaxhighlight lang="bash"> |
||
$ ls -l test.cpp |
$ ls -l test.cpp |
||
-rw-r--r-- 1 root root 334 Oct 10 11:07 test.cpp |
-rw-r--r-- 1 root root 334 Oct 10 11:07 test.cpp |
||
</syntaxhighlight> |
|||
</source> |
|||
test.cpp faylı root qrupuna daxildir. |
test.cpp faylı root qrupuna daxildir. |
||
< |
<syntaxhighlight lang="bash"> |
||
$ chgrp sys test.cpp |
$ chgrp sys test.cpp |
||
$ ls -l test.cpp |
$ ls -l test.cpp |
||
-rw-r--r-- 1 root sys 334 Oct 10 11:07 test.cpp |
-rw-r--r-- 1 root sys 334 Oct 10 11:07 test.cpp |
||
</syntaxhighlight> |
|||
</source> |
|||
chgrp ilə onun test.cpp faylının qrupu rootdan sys-ə dəyişdirildi. |
chgrp ilə onun test.cpp faylının qrupu rootdan sys-ə dəyişdirildi. |
||
== Həmçinin Bax == |
== Həmçinin Bax == |
||
*[[Unix utilitlərinin siyahısı]] |
* [[Unix utilitlərinin siyahısı]] |
||
{{Unix əmrləri}} |
{{Unix əmrləri}} |
12:02, 19 aprel 2020 tarixindəki versiya
Chgrp |
---|
chgrp — Unix əməliyyat sistemlərində faylın daxili olduğu qrupu dəyişmək üçün komandadır.
Nümunə
$ ls -l test.cpp
-rw-r--r-- 1 root root 334 Oct 10 11:07 test.cpp
test.cpp faylı root qrupuna daxildir.
$ chgrp sys test.cpp
$ ls -l test.cpp
-rw-r--r-- 1 root sys 334 Oct 10 11:07 test.cpp
chgrp ilə onun test.cpp faylının qrupu rootdan sys-ə dəyişdirildi.