13 lines
192 B
Bash
Executable File
13 lines
192 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
source $(dirname $0)/FunctionOutput
|
|
|
|
File="${1}"
|
|
|
|
[[ -z ${File} ]] && Exit "5|no argument"
|
|
|
|
|
|
[[ -f ${File} ]] && Exit "0|File $File exist" || Exit "2|File $File is NOT present"
|
|
|