How to start, restart & stop Samba from the command line?
Posted Sun, 2007-10-07 16:04 by peterv6
I've just switched from Red Hat to Ubuntu, and I need to know the commands to bring up, restart & stop the samba server. I want to do this from the command line. Please help.
I have Samba going and have my printer attached to my Ubumtu desktop. I would like to send print print jobs from my windows laptop through the router/dsl attached to the desktop. I have read a lot of suggestions but I do not understand most of them. Could someone try to dummy it down for me? Thanks Robin
I am trying to do and or use this command with a Tech Skills Lab# Techlab N10-004-E08 Unix, Linux, and Mac OS X and it doesn`t seem to have allowed me to complete the lab I think and or didn`t and or doesn`t allow me to complete the Lab completly and or appropriatly being that and or I guess that I am using a and or the Ubuntu6.06 and I may need to update and or a newer version. I don`t know !
Start /etc/init.d/samba
Start
/etc/init.d/samba startStop
/etc/init.d/samab stopRestart
/etc/init.d/samba restart/etc/init.d
just about every service you'll need to stop/start/restart is in /etc/init.d/ in debian-based distros.
Leenix, thank you very
Leenix, thank you very much. Your answer has been extremely helpful.PV
networking Ubuntu and Windows
I have Samba going and have my printer attached to my Ubumtu desktop. I would like to send print print jobs from my windows laptop through the router/dsl attached to the desktop. I have read a lot of suggestions but I do not understand most of them. Could someone try to dummy it down for me? Thanks Robin
FYI
I am trying to do and or use this command with a Tech Skills Lab# Techlab N10-004-E08 Unix, Linux, and Mac OS X and it doesn`t seem to have allowed me to complete the lab I think and or didn`t and or doesn`t allow me to complete the Lab completly and or appropriatly being that and or I guess that I am using a and or the Ubuntu6.06 and I may need to update and or a newer version. I don`t know !