I faced some commands like this:
cd /usr/local/src/netqmail-1.06
make setup check
How can I run them over bash script?
Is it right way? How can I correct it?
make /usr/local/src/netqmail-1.06 setup && make /usr/local/src/netqmail-1.06 check
UPDATE:
How is possible to do these ones?
cd /usr/local/src/
cp a b c ../d
To solve problem involved make
, you could do something like
cd /usr/local/src/netqmail-1.06 && make setup check
To solve problem involved cp
, you could do something similarly
cd /usr/local/src/ && cp abc ../d
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.