chown Flashcards

1
Q

chown

A

chown changes the user and/or group ownership of each given file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

chown

  • c
  • f
  • v
  • R [-H,-L,-P]
A
  • c, –changes
  • f, –silent, –quiet
  • v, –verbose
  • R [-H,-L,-P], –recursive, HLP modify how a hierarchy is traversed.
  • H, If a command line argument is a symbolic link to a directory, traverse it.
  • L, Traverse every symbolic link to a directory encountered.
  • P, Do not traverse any symbolic links (default).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

chown

–dereference

-h, –no-dereference

–from=CURRENT_OWNER:CURRENT_GROUP

–no-preserve-root

–preserve-root

–reference=RFILE

A

–from=CURRENT_OWNER:CURRENT_GROUP

Change the owner and/or group of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the moitted attribute.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly