Script to change names of files in a directory
Hi guys;
I am fairly new to shell scripting. How can I change the names of all files starting with 'S' under /etc/rc2.d to starting with 's' except for certain files..say S20sysetup and S01MOUNTFSYS. i want to automate the process of stopping uneeded daemons from starting during boottime. Thanks in advance. Ge |
Welcome to LQ.
I'm not sure if you realise or not but the best tool to use would be "chkconfig" as it is designed for managing such services. |
Thanks, but 'chkconfig' doesn't exist on solaris.
-GR |
All times are GMT -5. The time now is 02:35 PM. |