25 lines
360 B
Plaintext
25 lines
360 B
Plaintext
|
[[ $1 == -e* ]] && echo e
|
||
|
|
||
|
if [[ -d /usr/bin &&
|
||
|
-e /usr/bin/bash ]]; then
|
||
|
echo find bash
|
||
|
fi
|
||
|
|
||
|
if [[ -d /usr/bin && -e /usr/bin/bash ]]; then
|
||
|
echo find bash
|
||
|
fi
|
||
|
|
||
|
if [ -d /usr/bin && -e /usr/bin/bash ]; then
|
||
|
echo find bash
|
||
|
fi
|
||
|
|
||
|
if [ -d /usr/bin &&
|
||
|
-e /usr/bin/bash ]; then
|
||
|
echo find bash
|
||
|
fi
|
||
|
|
||
|
if [ -d /usr/bin && \
|
||
|
-e /usr/bin/bash ]; then
|
||
|
echo find bash
|
||
|
fi
|