slackware commands (stopping samba from starting automatically, etc)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
slackware commands (stopping samba from starting automatically, etc)
Hey all, im all up and running with slack on my ibook but im not sure about a couple of commands. the things in /etc/rc.d how to i stop/restart and disable them from starting. I need to restart my alsa and i have no idea how. Also, is there any way to get a color coded terminal window as far as which files are what types.. like folders a diff color and programs like alsa diff as well. Thanks!
to stop samba from starting, you could comment out the corresponding lines in /etc/rc.d/rc.M or, make the file "rc.samba" non-executable with chmod
to start/stop, you'll have to check the individual rc script. for instance if you read rc.httpd, you'll see a "case" clause that shows that it can be issued with "start" "stop" "restart" -- just run the script name followed by the option you want. rc.udev has a few more options, like "reload" "force-reload" etc.
If you have coreutils installed you can modify /etc/profile.d/coreutils-dircolors.sh for colour display in the bash shell. The default setting is auto (colorizes output to ttys, but not pipes), but you can change it to always.
to start/stop, you'll have to check the individual rc script. for instance if you read rc.httpd, you'll see a "case" clause that shows that it can be issued with "start" "stop" "restart" -- just run the script name followed by the option you want. rc.udev has a few more options, like "reload" "force-reload" etc.
If you simply call the script without any arguments, it will print out the available switches, which is a bit easier than actually having to read through it. For example:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.