IntelliJ IDEA 創建的文件自動生成 Author 註釋 簽名
1、打開 File --> Setting
2、找到 Editor --> File and Code Templates
3、找到 Includes
4、修改掉 ${User}爲自定義用戶名即可,可以改爲
/**
* Created by slbn on ${DATE}.
*/
IntelliJ IDEA 創建的文件自動生成 Author 註釋 簽名
1、打開 File --> Setting
2、找到 Editor --> File and Code Templates
3、找到 Includes
4、修改掉 ${User}爲自定義用戶名即可,可以改爲
/**
* Created by slbn on ${DATE}.
*/
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))