I ask you a great god ~
CodePudding user response:
Do not need to use the compiler can be run directly, such as start some need a lot of manual operating procedures, written script will perform process, each time you start the script runs fast and convenientCodePudding user response:
Function is similar to the batch Windows, is often dry, more complex, ordered a lot of work, written in a shell script, directly after the execution of this script or let the machine automatically run the script,CodePudding user response:
CodePudding user response:
A Shell script (Shell script), is a kind of write the script for the Shell,Shell programming with JavaScript, PHP programming, as long as there is a text editor to write the code and can explain the execution of the script interpreter,
Linux Shell variety
The current system which shell support?
# cat/etc/shells
/bin/sh//said system default shell, is not a specific shell
The default shell/bin/bash//system
/sbin/nologin
The/usr/bin/sh
The/usr/bin/bash
The/usr/sbin/nologin
/bin/it
/bin/CSH
CodePudding user response: