The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to delete files with certain ext? tonyvirk UNIX for Dummies Questions & Answers 4 12-09-2007 11:57 AM
Delete files with 0kb mephisto UNIX for Dummies Questions & Answers 3 10-23-2006 07:45 AM
how to delete log files castlerock Shell Programming and Scripting 2 03-29-2006 12:42 PM
when I try to run rm on multiple files I have problem to delete files with space umen UNIX for Dummies Questions & Answers 1 09-20-2005 12:20 AM
I can't delete some files DISTURBED UNIX for Dummies Questions & Answers 4 08-01-2002 08:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2007
Registered User
 

Join Date: Jun 2006
Posts: 58
Stumble this Post!
How to delete files ??

Hi,
I have files which were created while I was split a huge file.They all are created as -l20000xa,-l20000xb...etc.

How do I delete them .Have tried a lot of ways but to no avail.

Please help .

Thanks and Regrds,
Gideon.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-28-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Stumble this Post!
give the complete path name of the file

Code:
rm /home/user/-a
Reply With Quote
  #3 (permalink)  
Old 10-28-2007
Registered User
 

Join Date: Jun 2006
Posts: 58
Stumble this Post!
Is it like rm /home/user/-l20000xa ??

Please clarify.
Reply With Quote
  #4 (permalink)  
Old 10-29-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Stumble this Post!
exactly,

or you could try something like

Code:
rm ./-a
Code:
rm -- -a
Reply With Quote
  #5 (permalink)  
Old 10-29-2007
Registered User
 

Join Date: Jun 2006
Posts: 58
Stumble this Post!
Thanks you The first solution worked.
Reply With Quote
  #6 (permalink)  
Old 10-29-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Stumble this Post!
Quote:
The first solution worked.
Other two solutions also would work
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0