-----BEGIN PGP SIGNED MESSAGE----- On Mon, 28 Jun 1999, Revenant wrote: >Hi. I finally worked out how to do the Linux equivalent of batch files >(scripts) and was wondering if there was a generally accepted directory >for keeping user (and/or root) scripts in. >
Hi, Comparing ms doze batch files with Linux scripting is a little bit funny :) There is no special directory for scripts, because there is no general scripting language. You can add any interpreter to your system and use it with your scripts first line: #!<absolute_path/interpreter> and adding the x-attribute. Many scripts can be found e.g. in /usr/bin. They are almost completely equivalent to "real" commands. If you like, you can add something like *.sh (shell script) or *.pl (perl script) to identify your script and to be shure not to accidently replace a system command with some script (best example: the command "test"). Some people like to add a bin-directory to their home-directory and set the path to it. Greetings Dieter -- Dieter Jäger Datentechnik <[EMAIL PROTECTED]> -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 1ZiTkVpAbKpwuzGOtaXJXe7j92qP9zsw iQCVAwUBN3eKVnUAxaESJjTJAQHHvAP/Zsu8SXd4D2YfgTqfEGp4nx4LcZmlaZEf VPA+iqf79iywKZpF79xOe5wg+YllM6GEN7hAbFVymqiewqNRL0hdjAhecN2qGps7 O3SF3rlqk9du3NZluK5dB6pyPC/+pOzfmFpdpTYvHv89UdqVlrb5IywC67GrMeDq iJCS2j34gio= =5/+3 -----END PGP SIGNATURE-----