- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove files #filename
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
03-31-2003 06:07 AM
03-31-2003 06:07 AM
How do i remove files like this.
???
//Stefan S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:09 AM
03-31-2003 06:09 AM
Re: Remove files #filename
# rm -- #filename
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:09 AM
03-31-2003 06:09 AM
Re: Remove files #filename
eg:
rm "#myfile"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:10 AM
03-31-2003 06:10 AM
Re: Remove files #filename
rm -i
and answer no to all the others.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:10 AM
03-31-2003 06:10 AM
Re: Remove files #filename
Use the following:
rm -i /path/to/dir/*
then it will prompt Y/N for each file. Only answer Y to that file.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:16 AM
03-31-2003 06:16 AM
Re: Remove files #filename
rm -i -- #filename
-i interactive - gives you a y/n prompt
-- treat everything after this as the filename
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:20 AM
03-31-2003 06:20 AM
Re: Remove files #filename
ls -il note down inode number for file.
find . -inum inode_no -exec rm {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:20 AM
03-31-2003 06:20 AM
Re: Remove files #filename
This is the name of the file #libOvBbcThread.sl
if i do the command file *
in the directory.
#libOvBbcThread.sl
PA-RISC1.1 shared library -not stripped
And if i do rm *
raptor:/opt/OV/lib#rm -i *
#libOvBbcBase.sl: ? (y/n) y
rm: #libOvBbcBase.sl not removed. Text file busy
Ahhh Help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:24 AM
03-31-2003 06:24 AM
Re: Remove files #filename
so the first thing to do is an fuser on the file to work out what is using it.
Secondly, you need to work out if that process is a valid one that you need to be running - if it is, you shouldn't be deleting this file!
Basically the error is telling you that that particular file (actually a shared library) is in use.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:26 AM
03-31-2003 06:26 AM
Re: Remove files #filename
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:29 AM
03-31-2003 06:29 AM
Re: Remove files #filename
You really don't want to be removing this file (or any others in that directory) if you want to continue using OVO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:37 AM
03-31-2003 06:37 AM
Re: Remove files #filename
You need to escape the comment character:
# rm \#filename
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 06:37 AM
03-31-2003 06:37 AM
Re: Remove files #filename
becose the system is corupt.
Thanks for the help.
The trick whit the fuser
whas perfect.
//S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 07:44 AM
03-31-2003 07:44 AM
Re: Remove files #filename
These files, especially is part of an installed product, are created when the software is patched while running (a bad thing to do!) The shared library (.sl) file was busy so it was renamed to #xxxxx.sl and the new one put into place. Once the application is PROPERLY shutdown, the #xxxxxx.sl file will be closed and the new one will be used when the app starts again.
Important: if this was indeed a patch and there was something in the .sl file that needed fixing, if it is busy, your application is running UNPATCHED. Always shutdown apps before patching.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 08:02 AM
03-31-2003 08:02 AM
Re: Remove files #filename
Bill Gates would be proud of me.