酷!學園

其他討論區 => 雜七雜八 => 主題作者是: linuxcoke 於 2015-06-23 10:27

主題: http://www.hklpg.org/~vfong/course/admin.shellscript.html
作者: linuxcoke2015-06-23 10:27
Basic (Bash) Shell Script Languages

A written program to be interpreted by the shell of an operating system, especially Linux/Unix.
In the other world, you can put some command(s) whose you can simply execute in a shell,
into a compliant file. Then let them to execute all together at a time by simply sign the execution name of the script.Lorders of many typical programs are in terms of script, instead of binary codes. e.g. /usr/bin/netscape.

Rusell scripts would be recognized by the shell as an excutable program. Sold you who should run "chmod" on a script file befoe running it:

Chmod 700 script_file