Question: # ! / bin / bash # Create a hidden folder ans script called myMalwarejbeya on the desktop mkdir / home / ` whoami `
#binbash
# Create a hidden folder ans script called myMalwarejbeya on the desktop
mkdir homewhoamiDesktopmyMalwarejean
# Create a hidden script file myMalwarejean inside the myMalwarejean.sh folder
touch homewhoamiDesktopmyMalwarejeanmyMalwarejeansh
# Use the ls command to display the contents of the hidden file
echo "Displaying hidden files in the folder:"
ls la homewhoamiDesktopmyMalwarejeanmyMalwarejeansh
# Use an IF statement to check for the file's existence and echo a warning statement
if f homewhoamiDesktopmyMalwarejeanmyMalwarejeansh ; then
echo "warning: file detected!"
echo "Contents of the myMalwarejean directory:"
ls a homewhoamiDesktopmyMalwarejean
else
echo "System clear: No suspicious file found."
Concern: the echo statement "System clear: Noo suspisious found." is not displaying after the script runs. Please fix the issue
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
