Co robi CHOWN użycie. Konsola login name located in /etc/passwd . chown also accepts users in the.

Czy przydatne?

Polecenie chown

Wykonanie, użycie: Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also accepts users in the form newowner:newgroup or newowner.newgroup. The last two forms change the group ownership as well. If no owner is specified, the owner is unchanged. With a period or colon but no group, the group is changed to that of the new owner. Only the current owner of a file or a privileged user may change the owner

Opcje wykonania chown w konsoli

-c, --changes

Print information about files that are changed.

--dereference

Follow symbolic links.

-f, --silent, --quiet

Do not print error messages about files that cannot be changed.

-h, --no-dereference

Change the ownership of each symbolic link (on systems that allow it), rather than the referenced file.

-v, --verbose

Print information about all files that chown attempts to change, whether or not they are actually changed.

-R, --recursive

Traverse subdirectories recursively, applying changes.

--reference=filename

Change owner to the owner of filename instead of specifying a new owner explicitly.

--help

Print help message and then exit.

--version

Print version information and then exit.

Przykłady chown działanie w Słownik polecenie C

Przykład CHOWN użycie :
Jak użyć specified C++ or Java function name symbol , or read and decode symbols from standard input if no symbol is given. This command reverses the name mangling used by C++ and Java compilers to support co znaczy.
Przykład CHOWN użycie :
Jak użyć common to the sorted files file1 and file2 . Output is in three columns, from left to right: lines unique to file1 , lines unique to file2 , and lines common to both files. comm is similar to diff in krzyżówka.
Przykład CHOWN użycie :
Jak użyć columns or fields from one or more files . In the following options, list is a sequence of integers. Use a comma between separate values, and a hyphen to specify a range (e.g., 1-10 ,15 ,20 or 50 co to jest.
Przykład CHOWN użycie :
Jak użyć columns from a file, where a column is a single character in a line. Read from standard input and write to standard output. Columns are numbered starting with 1; begin deleting columns at (including słownik.
Przykład CHOWN użycie :
Jak użyć filter that handles reverse linefeeds and escape characters, allowing output from tbl or nroff to appear in reasonable form on a terminal. Put half-line characters (e.g., subscripts or superscripts czym jest.