- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to delete ghost 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
05-27-2003 06:24 PM
05-27-2003 06:24 PM
How to delete ghost file?
our server.
When I use "ls" command, it
appeared, but when I use "ll"
command, it shows the file is
not found.
How can I delete this file?
Thanks advice.
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:29 PM
05-27-2003 06:29 PM
Re: How to delete ghost file?
use rm -i *.This will enable you to delete the file interactively.The command will prompt like below :
file1: ? (y/n) n
: ? (y/n) y
Just type 'Y' to delete the file or 'N' if this is not the ghost file.
IN above example , you see there are blank file name which I wish to delete.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:32 PM
05-27-2003 06:32 PM
Re: How to delete ghost file?
Chen,
Please assign point for those who help you.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:48 PM
05-27-2003 06:48 PM
Re: How to delete ghost file?
1. Find the inode number of the file by
#ls -i
2.Delete the file by using find .
#find . -inum Inodenumber -exec ll {} \;
where Inodenumber is the corresponding inode number of your ghost file what u got in step 1.
HTH
-tamil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:50 PM
05-27-2003 06:50 PM
Re: How to delete ghost file?
1. Find the inode number of the file by
#ls -i
2.Confirm the file by
#find . -inum Inodenumber -exec ll {} \;
3.Delete the file by
#find . -inum Inodenumber -exec rm {} \;
where Inodenumber is the corresponding inode number of your ghost file what u got in step 1.
HTH
-tamil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:50 PM
05-27-2003 06:50 PM
Re: How to delete ghost file?
1. Find the inode number of the file by
#ls -i
2.Confirm the file by
#find . -inum Inodenumber -exec ll {} \;
3.Delete the file by
#find . -inum Inodenumber -exec rm {} \;
where Inodenumber is the corresponding inode number of your ghost file what u got in step 1.
HTH
-tamil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 12:53 AM
05-28-2003 12:53 AM
Re: How to delete ghost file?
try also with:
ls -b *
so you will see unprintable charachters...
Massimo