Bash conditionals: how to “and” expressions? (if [ ! -z $VAR && -e $VAR ])

前端 未结 5 1662
故里飘歌
故里飘歌 2021-01-29 22:04

I guess I\'m not clear on how to do \"and\" tests. I wanted to make sure an argument existed which was working well with [ -e $VAR ], but it turns out that was also

5条回答
提交回复
热议问题