To write effective bash shell scripts, you must master the basic bash command set for navigation and daily routine tasks performed within the shell.
要想编写有效的bash shell脚本,就必须掌握在shell中执行导航和日常任务的基本bash命令集。
Typically, each shell provides for several shell startup scripts, and each shell dictates the order in which the scripts run.
通常,每种Shell都提供了一些Shell启动脚本,并且每种Shell都规定了脚本运行的顺序。
You should still make them generic (for instance, accepting different parameters, and so on), but they are called from shell scripts (similar to the shell script you created in this exercise).
您仍然需要使它们为普通可用的(例如,接受不同的参数,等等),但是它们是从命令脚本中被调用的(与您在这个练习中创建的命令脚本类似)。
应用推荐