![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing directory in an input file | chrysSty | UNIX for Dummies Questions & Answers | 2 | 06-04-2008 08:12 PM |
| Removing a file from a directory | npatel | Filesystems, Disks and Memory | 5 | 05-22-2008 07:47 AM |
| Problem Removing a Directory !!! | gauravsachan | UNIX Desktop for Dummies Questions & Answers | 1 | 03-14-2007 10:53 PM |
| Removing the oldest file in a directory | pavan_movva | Shell Programming and Scripting | 2 | 10-10-2006 08:38 AM |
| Removing files automatically from a directory after 30 days. | justinb_155 | Shell Programming and Scripting | 7 | 06-24-2005 11:07 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
all - I'm trying to delete this directory with no success. This was placed in my folder by a test script I wrote for beginners...
drwxr-xr-x 2 myaddress ssusr 512 Dec 22 16:10 $x+1 Here is the message I receive - I've tried every command possible to remove it: rmdir: 0653-609 Cannot remove +1. thanks |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Hi,
Do rmdir ./$x+1 |
|
#3
|
|||
|
|||
|
have you tried?
rm '$x+1' rm \$x\+1 rm `ls` |
|
#4
|
|||
|
|||
|
removing a directory
this is the response i received..
rmdir: 0653-609 Cannot remove ./+1. A file or directory in the path name does not exist. |
|
#5
|
|||
|
|||
|
Optimus - i got this message back as well:
rm: 0653-603 Cannot remove directory $x+1. |
|
#6
|
||||
|
||||
|
Re: removing a directory
Quote:
|
|
#7
|
||||
|
||||
|
What system are you using? What shell?
Also try: rm -fr '$x+1' |
||||
| Google The UNIX and Linux Forums |