Horje
return boolean bash Code Example
return boolean bash
#!/bin/bash
isdirectory() {
  if [ -d "$1" ]
  then
    true
  else
    false
  fi
}

if isdirectory $1; then echo "is directory"; else echo "nopes"; fi




Shell

Related
icon theme and widget ubuntu Code Example icon theme and widget ubuntu Code Example
ubuntu wsl go to desktop Code Example ubuntu wsl go to desktop Code Example
how to show a tag in git Code Example how to show a tag in git Code Example
git which branch contains tag Code Example git which branch contains tag Code Example
linux change user shell /bin/false Code Example linux change user shell /bin/false Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15