摘要:
1. 文件开头添加#!/bin/bash这行指定了你的程序将使用哪个解释器,基本上是将路径引用到解释器。Linux/Unix中有很多解释器,其中一些是:bash,zsh,sh,csh和ksh等。 2. chmod 755 script.sh # chmod +x script.sh 修改文件权限至可 阅读全文
摘要:
What is spaghetti code exactly? Spaghetti code is the general term used for any source code that’s hard to understand because it has no defined struct 阅读全文