- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to remove 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
07-21-2009 11:51 PM
07-21-2009 11:51 PM
how to remove file?
how to remove following file
-rwxr-xr-x 1 test test 0 Sep 25 2008 '30-apr-2008'"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 12:14 AM
07-22-2009 12:14 AM
Re: how to remove file?
this is the best procedure :
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-22-2009 12:15 AM
07-22-2009 12:15 AM
Re: how to remove file?
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 01:18 AM
07-22-2009 01:18 AM
Re: how to remove file?
You can delete this kind of file with inode number;
>>Find out the inode number of this file with,
#ls -il "file name"
>>Remove the file with,
#find . -inum "inode#" -exec rm -i {} \;
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 01:34 AM
07-22-2009 01:34 AM
Re: how to remove file?
Simple quoting works:
rm -i "'30-apr-2008'\""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 01:40 AM
07-22-2009 01:40 AM
Re: how to remove file?
For deleting this type of special filename you need to do this step
#rm -i *
now one by one it will ask you for delet.
y for yes and n for no
when it will ask for your file press y
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 01:42 AM
07-22-2009 01:42 AM
Re: how to remove file?
Miss one step before give "rm -i *" command 1st get into the location of the directiory where your file is.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 11:11 PM
07-22-2009 11:11 PM
Re: how to remove file?
rm -i "'30-apr-2008'"
u can remove this file..
Sri