chfn command in Linux with examples
chfn command in Linux allows you to change a user’s name and other details easily. chfn stands for Change finger. Basically, it is used to modify your finger information on Linux system. This information is generally stored in the file /etc/passwd that includes user’s original name, work phone number etc.
Syntax:
chfn [option] [login]
Example: In this example we used default “chfn” command without any option. In this system asks from the user itself to change the values of some basic attributes.

Options:
- -f full_name : Let you change the full name on the account.

- -w work_ph : Let you change the work phone number on the account.

- -r room_no : Let you change the room number on the account.

- -h home_ph : Let you change the home phone number on the account.

- -o other : Let you change any other detail on the account.
Recommended Posts:
- less command in Linux with Examples
- ar command in Linux with examples
- ZIP command in Linux with examples
- ex command in Linux with examples
- col command in Linux with Examples
- ln command in Linux with Examples
- ip command in Linux with examples
- tty command in Linux with examples
- top command in Linux with Examples
- rm command in Linux with examples
- scp command in Linux with Examples
- Cat command in Linux with examples
- cal command in Linux with Examples
- ed command in Linux with examples
- pwd command in Linux with Examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



