Options (4)
-f, --full-namebooleanUpdate a user's "Name" field in the output of `finger`
Example:
chfn {{[-f|--full-name]}} {{new_display_name}} {{username}}-o, --officebooleanUpdate a user's "Office Room Number" field for the output of `finger`
Example:
chfn {{[-o|--office]}} {{new_office_room_number}} {{username}}-p, --office-phonebooleanUpdate a user's "Office Phone Number" field for the output of `finger`
Example:
chfn {{[-p|--office-phone]}} {{new_office_telephone_number}} {{username}}-h, --home-phonebooleanUpdate a user's "Home Phone Number" field for the output of `finger`
Example:
chfn {{[-h|--home-phone]}} {{new_home_telephone_number}} {{username}}Examples (4)
Update a user's "Name" field in the output of `finger`
chfn [-f|--full-name] new_display_name usernameUpdate a user's "Office Room Number" field for the output of `finger`
chfn [-o|--office] new_office_room_number usernameUpdate a user's "Office Phone Number" field for the output of `finger`
chfn [-p|--office-phone] new_office_telephone_number usernameUpdate a user's "Home Phone Number" field for the output of `finger`
chfn [-h|--home-phone] new_home_telephone_number usernamemade by @shridhargupta | data from tldr-pages