- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file cant be removed
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
10-24-2000 07:09 AM
10-24-2000 07:09 AM
file cant be removed
i have a file "MAT04" in my "mat04" file system. omniback completes with errors on this file. i tried to remove it but it says 'not found'. when i do an ls it comes back as '/MAT04', but when i do an ll it comes back as './MAT04 not found'. it doesnt seem to have an inode and i cant get rid of it. any ideas? thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:13 AM
10-24-2000 07:13 AM
Re: file cant be removed
sound like the filename has unprintable characters.
To remove do:
rm -i *MAT04*
Answer with 'y' if you are sure it is the correct file.
Regards
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:15 AM
10-24-2000 07:15 AM
Re: file cant be removed
Most likely there are non-graphic characters in the filename. Try:
# rm -i MAT04*
Use the interactive (-i) option for safety.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:18 AM
10-24-2000 07:18 AM
Re: file cant be removed
find . -name "*MAT04*" -exec rm -f {} \;
or you could use the -i option for rm if you want to see what gets removed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:21 AM
10-24-2000 07:21 AM
Re: file cant be removed
As the others have said the filename includes non-printable characters (which could be in the middle of the name) - delete characters are favourites.
In order to find out what you have, it may be necessary to pipe the output of ll into the 'od' command - see man od for details.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:22 AM
10-24-2000 07:22 AM
Re: file cant be removed
within the File Manager in CDE or HP/VUE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:29 AM
10-24-2000 07:29 AM
Re: file cant be removed
ls -i *
Then I simply do the following to find it from where I am and remove it:
find . -inum xxxx -exec rm {} \;
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 08:10 AM
10-24-2000 08:10 AM
Re: file cant be removed
If you have copy and paste ability, you can highlight the filename, paste it to the rm command.