mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 20:42:08 +00:00
26 lines
742 B
Plaintext
26 lines
742 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# chfn
|
|
|
|
> Update `finger` info for a user.
|
|
> More information: <https://manned.org/chfn>.
|
|
|
|
- Update a user's "Name" field in the output of `finger`:
|
|
|
|
`chfn {{[-f|--full-name]}} {{new_display_name}} {{username}}`
|
|
|
|
- Update a user's "Office Room Number" field for the output of `finger`:
|
|
|
|
`chfn {{[-o|--office]}} {{new_office_room_number}} {{username}}`
|
|
|
|
- Update a user's "Office Phone Number" field for the output of `finger`:
|
|
|
|
`chfn {{[-p|--office-phone]}} {{new_office_telephone_number}} {{username}}`
|
|
|
|
- Update a user's "Home Phone Number" field for the output of `finger`:
|
|
|
|
`chfn {{[-h|--home-phone]}} {{new_home_telephone_number}} {{username}}`
|