The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Why can't I delete this file? tphyahoo UNIX for Dummies Questions & Answers 3 07-17-2006 04:35 PM
how to delete record in file data with index in another file? zhynxn Shell Programming and Scripting 0 07-06-2006 12:03 AM
i want to delete a file based on existing file in a directory srivsn Shell Programming and Scripting 3 04-11-2006 04:38 AM
i want to delete a file srivsn Shell Programming and Scripting 12 02-07-2006 08:38 AM
Get file from source server and delete the ftp file lweegp Shell Programming and Scripting 3 10-17-2005 02:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-21-2008
priyam priyam is offline
Registered User
  
 

Join Date: Jul 2008
Location: India
Posts: 24
Delete a file ...

I got a file with filename

Quote:
$ ls

Files Logs mnt Practice -R
I dont know the file -R got created !?

I dont know how to delete it ...

Change anyone tell me how to delete that file..??
  #2 (permalink)  
Old 08-21-2008
manosubsulo manosubsulo is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 87
Use the below command

rm -f \-R
  #3 (permalink)  
Old 08-21-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Staff  
Moderator(The Tutor)
  
 

Join Date: Jun 2008
Location: INDIA
Posts: 1,389
use rm -- -R
  #4 (permalink)  
Old 08-22-2008
priyam priyam is offline
Registered User
  
 

Join Date: Jul 2008
Location: India
Posts: 24
Hi mano ... your suggestion didnt work ....
But vidyahar's suggestion worked ....

Thanks for your suggestions ..
  #5 (permalink)  
Old 08-22-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Staff  
Moderator(The Tutor)
  
 

Join Date: Jun 2008
Location: INDIA
Posts: 1,389
Quote:
Originally Posted by priyam View Post
Hi mano ... your suggestion didnt work ....
But vidyahar's suggestion worked ....

Thanks for your suggestions ..
are you working on AIX??
  #6 (permalink)  
Old 08-24-2008
priyam priyam is offline
Registered User
  
 

Join Date: Jul 2008
Location: India
Posts: 24
No I am not working on AIX ...
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0