I am running some script which passing the string argument and I want to do if else statement shown as below:
if [ $1 != '' ] && [ $2 != '' ]
then
do something.....
Run Code Online (Sandbox Code Playgroud)
but it shown Error too many argument. Why?
我已经安装了 JDK 7,但是如何配置安全性等设置?
在 Windows 上,我可以从控制面板 -> Java 设置 JDK 7。