- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Deleting an archive with an space
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
тАО01-03-2006 08:13 PM
тАО01-03-2006 08:13 PM
Re: Deleting an archive with an space
try rm -i *command*txt and confirm when asked.
probably rm log* doesn't run because the separator is not a speca but a non printable chars.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 10:10 PM
тАО01-03-2006 10:10 PM
Re: Deleting an archive with an space
try the following to see non-printtable characters ...
# ll | cat -v
you can match each non-printable character with a '?'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 06:22 AM
тАО01-05-2006 06:22 AM
Re: Deleting an archive with an space
i can't delete the file !!!
the name of the file is: "-sh proceso.log"
how can i do it??
please help !!!
Thanks !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 06:28 AM
тАО01-05-2006 06:28 AM
Re: Deleting an archive with an space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 06:41 AM
тАО01-05-2006 06:41 AM
Re: Deleting an archive with an space
rm "./-sh proceso.log"
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 06:46 AM
тАО01-05-2006 06:46 AM
Re: Deleting an archive with an space
Once again, the method I posted is generally applicable to files with *any* special characters. This includes files beginning with "-".
You can also do:
# touch /tmp/-
# cd /tmp
# rm -- -
The "--" syntax says that there are no more switches to a command and what follows is an argument; in this case a filename.
By the way, in my earlies posts, above, I dropped the hyphen form 'xdev'. The 'find' should read:
# find . -xdev -name "bad*" -exec ls -li {} \
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 06:46 AM
тАО01-05-2006 06:46 AM
Re: Deleting an archive with an space
Once again, the method I posted is generally applicable to files with *any* special characters. This includes files beginning with "-".
You can also do:
# touch /tmp/-
# cd /tmp
# rm -- -
The "--" syntax says that there are no more switches to a command and what follows is an argument; in this case a filename.
By the way, in my earlies posts, above, I dropped the hyphen form 'name'. The 'find' should read:
# find . -xdev -name "bad*" -exec ls -li {} \
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 07:26 AM
тАО01-05-2006 07:26 AM
Re: Deleting an archive with an space
it was worked with:
rm -- "-sh proceso.log"
Thanks !!!
Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2006 10:24 AM
тАО04-13-2006 10:24 AM
Re: Deleting an archive with an space
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=953425
and Geoff Wild, thanks for link http://www.sas.upenn.edu/computing/help/Unix/special_char.html
Thanks, is very interesting this site !!!
:0D
Manuales.
- « Previous
-
- 1
- 2
- Next »