Open In App

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:

Article Tags :