簡體   English   中英

git和mvn命令在Mac / Linux中的哪里?

[英]where does the git and mvn command go in mac/Linux?

我已經在Mac上安裝了gitmaven 我知道這行得通。 但是我很想知道在哪里找到這些命令

/bin可以找到諸如mv,ls,cd類的常用命令。 我在/bin找不到gitmavengrep 我沒有.bashrc nor .bash_profile 我不認為他們會在env了。

我在哪里可以看到他們?

從我的Ubuntu:

$ which git
/usr/bin/git

$ which mvn
/usr/bin/mvn

$ which grep
/bin/grep

which應該在Mac OS X上運行

whereis也是一個不錯的選擇。 從我的ubuntu:

$ whereis git
git: /usr/bin/git /usr/share/man/man1/git.1.gz

$ whereis mvn
mvn: /usr/bin/mvn /usr/share/man/man1/mvn.1.gz

$ whereis grep
grep: /bin/grep /usr/share/man/man1/grep.1.gz

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM