Skip to content
  • View menu
  • View featured posts
  • View sidebar

Ajoshow

安迪豬的個人網誌

  • 首頁
  • Facebook
  • Linkedin
  • Twitter
  • Email

口袋筆記

客製化的Terminal .bashrc

8 9 月, 20208 9 月, 2020 by Andy

bash cd到當下目錄位置

19 5 月, 2020 by Andy

OpenJDK for Windows/Mac

10 4 月, 202011 4 月, 2020 by Andy

Vue Component v-model 筆記

25 5 月, 201926 5 月, 2019 by Andy

webpack 新手筆記

5 3 月, 20195 3 月, 2019 by Andy

前端常見的三種Module System

5 3 月, 20195 3 月, 2019 by Andy

vuex 新手筆記

4 3 月, 201913 3 月, 2019 by Andy

npm & vue cli 新手筆記

4 3 月, 201913 3 月, 2019 by Andy

VueJS 基礎語法練習

11 1 月, 201911 1 月, 2019 by Andy

常用Git指令

21 12 月, 201811 1 月, 2019 by Andy

分類

  • 口袋筆記 (30)
  • 心得分享 (4)
  • 未分類 (1)
  • 程式小品 (2)

近期文章

  • 客製化的Terminal .bashrc
  • bash cd到當下目錄位置
  • OpenJDK for Windows/Mac
  • Vue Component v-model 筆記
  • Bootstrap4 Set Global font-size筆記

標籤雲

docker java8 css codepen testCompileOnly compile bash secure flag providedRuntime build tool multi-projects gradle centos6 XSS mysql cookie build.gradle classNotFoundException transitive dependency testCompile httpOnly spring java sql spring-boot linux javascript shell scss bootRun ci mssql runtime testRuntime progressbar compileOnly intellij ocpjp providedCompile 1Z0-813 dependency management eclipse OWASP automation dependency configuration

友站連結

Paul’s Recipe Book

彙整

  • 2020 年 9 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2019 年 5 月
  • 2019 年 3 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 8 月
  • 2018 年 4 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 10 月
  • 2017 年 9 月
  • 2017 年 8 月
  • 2017 年 7 月

Month / 5 月 2020

19 5 月, 2020 by Andy

bash cd到當下目錄位置

  • 口袋筆記
  • bash, shell
  • Leave a comment

在mac中將副檔名改.command後,就可以直接點選並執行該檔內容的script。有次發現想要執行 java -jar helloworld.java 時卻跳出Unable to access jarfile的錯誤訊息,拜訪谷歌大神後發現,原來是執行.command時,當下執行的位置是在home底下而非當下目錄。這時候可以使用下列script去切換到當下目錄位置。 顯示完整資訊

Powered © Andy Chu