what happens if you allow scripting
Scripts arenât just invocations of commands, either. Theyâre programs in their own right. Scripting allows you to use programming functions â such as âforâ loops, if/then/else statements, and so forth â directly within your operating systemâs interface.And, you donât have to learn another language because youâre using what you already know: the command-line.our First Script. Letâs start with a simple script that allows you to copy files and append dates to the end of the filename. Letâs call it âdatecpâ. First, letâs check to see if that name conflicts with something: You can see that thereâs no output of the which command, so weâre all set to use this name.