win10參考:https://www.cnblogs.com/qfb620/p/5508468.html
linux參考:https://www.cnblogs.com/wang-meng/p/5861174.html