Questions tagged «multiplatform»

7
Bash / sh-&&和;之间的区别
我通常;在一行中组合多个命令,但是有些人更喜欢&&。有什么区别吗?例如,cd ~; cd -并且cd ~ && cd -似乎让同样的事情。哪个版本更可移植,例如bash子集(例如Android的shell或类似版本)将支持该版本?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.