version 1.122, 2018/11/16 02:30:20 |
version 1.123, 2019/01/16 23:23:45 |
|
|
If |
If |
.Ar path |
.Ar path |
is not specified, then change directory to the one the session started in. |
is not specified, then change directory to the one the session started in. |
.It Ic chgrp Ar grp Ar path |
.It Xo Ic chgrp |
|
.Op Fl h |
|
.Ar grp |
|
.Ar path |
|
.Xc |
Change group of file |
Change group of file |
.Ar path |
.Ar path |
to |
to |
.Ar grp . |
.Ar grp . |
|
If the |
|
.Fl h |
|
flag is specified, then symlinks will not be followed. |
.Ar path |
.Ar path |
may contain |
may contain |
.Xr glob 7 |
.Xr glob 7 |
characters and may match multiple files. |
characters and may match multiple files. |
.Ar grp |
.Ar grp |
must be a numeric GID. |
must be a numeric GID. |
.It Ic chmod Ar mode Ar path |
.It Xo Ic chmod |
|
.Op Fl h |
|
.Ar mode |
|
.Ar path |
|
.Xc |
Change permissions of file |
Change permissions of file |
.Ar path |
.Ar path |
to |
to |
.Ar mode . |
.Ar mode . |
|
If the |
|
.Fl h |
|
flag is specified, then symlinks will not be followed. |
.Ar path |
.Ar path |
may contain |
may contain |
.Xr glob 7 |
.Xr glob 7 |
characters and may match multiple files. |
characters and may match multiple files. |
.It Ic chown Ar own Ar path |
.It Xo Ic chown |
|
.Op Fl h |
|
.Ar own |
|
.Ar path |
|
.Xc |
Change owner of file |
Change owner of file |
.Ar path |
.Ar path |
to |
to |
.Ar own . |
.Ar own . |
|
If the |
|
.Fl h |
|
flag is specified, then symlinks will not be followed. |
.Ar path |
.Ar path |
may contain |
may contain |
.Xr glob 7 |
.Xr glob 7 |