- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems removing file with special characters
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
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
тАО07-29-2009 11:36 AM
тАО07-29-2009 11:36 AM
Any idea how to remove this? It doesn't show up with "ls -l"
/etc/rc.config.d#: ls -lab | tail -1
-rw------- 1 root sys 8371 Jun 4 15:38 \177\177\177
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 11:40 AM
тАО07-29-2009 11:40 AM
Solutionon this link a very good howto.
its a combination of ls and find.
http://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 11:40 AM
тАО07-29-2009 11:40 AM
Re: Problems removing file with special characters
1) Do an 'ls -labi' and make a note of the inode number
2) find . -inum
to make sure it is the correct file. If it is, then
3) find . -inum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 11:43 AM
тАО07-29-2009 11:43 AM
Re: Problems removing file with special characters
Among the easy ways to remove a file like this is to use its inode number:
# ls -ilab
...lists in octal notation any non-printable characters as you have seen but with the inode number of the file in the leftmost column.
Once you have that, do:
# find . -xdev -type f -inum
Substitute the correct inode number for
NOTE CAREFULLY: Inode numbers are only unique within a filesystem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 01:10 PM
тАО07-29-2009 01:10 PM
Re: Problems removing file with special characters
If you have stty erase as ^h, you can just use the DEL char as a ordinary char.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 05:00 PM
тАО07-29-2009 05:00 PM
Re: Problems removing file with special characters
You can delete this kind of file with inode number;
>>Find out the inode number of this file with,
#ls -il
>>Remove the file with,
#find . -inum
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2009 09:56 AM
тАО07-30-2009 09:56 AM