![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| please explain this sed shell script to remove C++ comments. | Priyaranjan | Shell Programming and Scripting | 1 | 03-05-2009 11:52 AM |
| Shell script: Remove blank lines | gholdbhurg | Shell Programming and Scripting | 3 | 02-25-2009 02:33 PM |
| remove directory x seconds after script completes | tret | Shell Programming and Scripting | 1 | 10-28-2008 10:44 AM |
| Script to remove all empty files within the directory structure? | cat123 | Shell Programming and Scripting | 5 | 06-05-2008 10:01 AM |
| How to remove line from crontab in shell script? | nir_s | Shell Programming and Scripting | 2 | 11-03-2005 01:19 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|