- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot delete directory!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:32 AM
тАО09-09-2004 10:32 AM
drwx------ 5 root sys 96 Sep 9 14:55 application
I cannot get into the directory -
# cd application
sh: application: not found.
I cannot creat a subdirectory -
# mkdir /application/test
dir: cannot access /application: No such file or directory
and rm -Rf does not remove it and returns no errors. How can I get rid of this directory?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:37 AM
тАО09-09-2004 10:37 AM
Re: Cannot delete directory!
Looks like there are some special characters attached to the name. I usually try to use wild characters if possible to get rid of them. Try various combinations and see if any of them work. For ex.,
#ll -d applica*
#ll -d *plicat*
Make sure which combination works and then move it to another directory
#mkdir junk
#mv *plicat* junk
#cd junk
#ll
(make sure it is only the directory that is appearing) then remove the directory
#cd ..
# rm -rf junk
You can simply remove it in one step with just the wildcards, all the above steps are to ensure that you do not accidentally delete anything.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:38 AM
тАО09-09-2004 10:38 AM
Re: Cannot delete directory!
Great job. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:38 AM
тАО09-09-2004 10:38 AM
Re: Cannot delete directory!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:44 AM
тАО09-09-2004 10:44 AM
Re: Cannot delete directory!
Another quick way to do this would be
ll -i (note the inode number)
find . -inum
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:50 AM
тАО09-09-2004 10:50 AM
Re: Cannot delete directory!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 11:19 AM
тАО09-09-2004 11:19 AM