Computing.Net > Forums > Unix > unix remove help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

unix remove help

Reply to Message Icon

Name: don r
Date: October 23, 2001 at 07:39:08 Pacific
Comment:

I am trying to remove a directoy that I found this morning on a unix server. I have no idea where the directory came from. When I try to remove it (rm -r "file name") I get a bad pattern message.



Sponsored Link
Ads by Google

Response Number 1
Name: James Boothe
Date: October 23, 2001 at 08:23:39 Pacific
Reply:

Don,
My guess is that the recursive remove is encountering a weird name as it tries to remove lower-level content, maybe a character in a directory name or file name that is special to the shell. Try to rm lower-level content first, and you might have to use quotes and backslashes. You might have hidden files, and if you are dealing with some weird characters, you can use ls -b which will show non-printable characters as octal values.
James


0

Response Number 2
Name: alan
Date: October 25, 2001 at 08:57:50 Pacific
Reply:

don: you can also try rm -i file* this will ask you to confirm the deletion, and isolate your problem


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Force Case HP-unix VS. Solaris



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: unix remove help

Unix Mail Help !! www.computing.net/answers/unix/unix-mail-help-/5726.html

Unix script help www.computing.net/answers/unix/unix-script-help/6110.html

buy Unix, need help www.computing.net/answers/unix/buy-unix-need-help/2030.html