What is the output of the following Bash command?
#!/usr/bin/env bash
path='/local/user'
if [[ $path != *root* ]]; then
rm ${1}
echo "Specified file/directory was deleted"
else
echo "Specified file/directory was NOT deleted"
fiWhat is the output of the following Bash command?
#!/usr/bin/env bash
path='/local/user'
if [[ $path != *root* ]]; then
rm ${1}
echo "Specified file/directory was deleted"
else
echo "Specified file/directory was NOT deleted"
fiCreate a free account to access the full topic