What command line utility can be used to edit the Samba configuration file?

Answer:
nano and vi (vim) are common ones.

As root
# nano /etc/samba/smb.conf

As a user
$ sudo nano /etc/samba/smb.conf
First answer by 374jguyg. Last edit by 374jguyg. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 2 [recommend question].