Hi,
I have shell script which is located in /opt/Test/test.sh
code in test.sh is as follows
#!/bin/sh
rm -rf /opt/Test
exit 0
when I tried to execute the above script from its location, it shows the following error
rm: Cannot remove any directory in the path of the current working directory /opt/Test
can some please suggest any good solution how to remove the script and the direcotry in such case
Thanks in advance
RaghuDeep Amilineni