I installed Samba, and edited smb.conf. Then I typed the following:
sudo /etc/init.d/samba restart
The response I got was
sudo: /etc/init.d/samba: command not found
So now what?
Edit: If I do sudo /etc/init.d/smbd restart, I get the following message:
Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service smbd restart
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart smbd smbd start/running, process 9265