[英]Is there a directory where i can put a d file so that the compiler automatically includes it?
[英]Where to put application so I can use them no matter working directory?
我安裝了 ngrok 並將其放在/bin
文件夾中。 但是我只能在/bin
目錄中使用命令./ngrok
。 我對使用 Linux 還很陌生,但我很確定/bin
apps/command 可以在任何地方使用。 任何人都知道將應用程序放在哪里,這樣無論我當前的工作目錄是什么,我都可以使用它們。
如果/bin
在$PATH
,您可以使用ngrok
調用它,而無需指定當前目錄./
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.