更改path - Linux

Table of Contents

假設我今天要用 assembler 去組譯一個 test.s

在 /download/compile/ 下

$ PATH=/download/compile:$PATH 這樣嗎??

然後直接執行assembler?

我之前是 cd download/compile

然後 ./assembler test.s -o test.o

這樣有成功

那如果用改PATH的方式請問怎麼用

我剛用linux而已


--

All Comments