0.0%

Kterým příkazem nezjistím, zda položka 'adresar' je adresář?

if pwd adresar; then echo ok; fi
if ls -ld adresar|grep -q '^d'; then echo ok; fi
if [ -d adresar ]; then echo ok; fi
if test -d adresar; then echo ok; fi
Vyhodnotiť
Zle zodpovedané otázky: