terminal.cab

All commands

chown

Topic: Permissions and ownership

Program: chown

Changes the owner and group of files.

Package: besitzer

Usage

chown [OPTION]... OWNER FILE...

Description

Give each FILE a new owner and/or group: OWNER, OWNER:GROUP, :GROUP, or OWNER: for the login group of OWNER. Only root may hand files to someone else; the owner may switch the group to one of their own groups.

Options in the simulator

8 more options of the real program, not in the simulator yet
  • --dereference not in the simulator yet

    On a real system it changes the target of each symbolic link with -R; without -R that is the default anyway.

  • --from needs a value not in the simulator yet

    On a real system it only changes files that have the given current owner or group.

  • --no-preserve-root not in the simulator yet

    On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.

  • --preserve-root not in the simulator yet

    On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.

  • -H not in the simulator yet

    On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).

  • -L not in the simulator yet

    On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).

  • -P not in the simulator yet

    On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).

  • --version not in the simulator yet

    On a real system it prints the version of the program.

Where you learn it

No lesson yet.

All commands