- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot delete file
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
Forums
Discussions
Discussions
Discussions
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
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
04-03-2007 02:08 PM
04-03-2007 02:08 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 02:14 PM
04-03-2007 02:14 PM
Re: Cannot delete file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 02:27 PM
04-03-2007 02:27 PM
Re: Cannot delete file
get ready to say "n" repeatedly. It's that,
or quote the weird name characters
appropriately.
Normally, I'd also suggest CTRL/C after you
get the thing deleted using "rm -i *", but
this is HP-UX, so it's always a mystery to
me which key does an interrupt. ("stty -a"
says, of course.)
(I assume that it's the file's _name_ that
has weird characters in it, not the file.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 05:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 05:23 PM
04-03-2007 05:23 PM
Re: Cannot delete file
if you have access through a graphics console or ftp software, you can try to rename it a more readable name and perform further analysis on the file characteristics.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 06:33 PM
04-03-2007 06:33 PM
Re: Cannot delete file
If you use ll -b, you will see them as escapes. With my stty settings of ^H for erase, that is a regular char for me:
$ touch ^?
$ ll -b ^?
-rw-rw-r-- 0 Apr 3 23:31 \177
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 06:45 PM
04-03-2007 06:45 PM
Re: Cannot delete file
Rename the file and check the attributes and delete the file if it not works try to boot it in a single user mode and delete the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 07:13 PM
04-03-2007 07:13 PM
Re: Cannot delete file
Note the inode of file by using command
ls -li
then use following to delete the file
# rm `ls -li|awk '$1 ==
Thats all
Otherwise use Steven's method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 06:01 AM
04-04-2007 06:01 AM
Re: Cannot delete file
Thanks everyone!