The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 05:12 PM
how to? launch command with string of command line options TinCanFury Shell Programming and Scripting 5 04-28-2008 03:06 PM
inconsistent ls command display at the command prompt & running as a cron job rajranibl Linux 5 07-30-2007 05:26 AM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr HP-UX 1 10-16-2006 01:16 PM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr Shell Programming and Scripting 0 09-19-2006 06:44 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-20-2005
Registered User
 

Join Date: Apr 2005
Posts: 47
Exclamation rm command

Hi

There's a name like: -ksh_history.xls on my AIX system, result of programming error.
So, I would to remove it with the rm command... unfortunately this isn't work seems the message: rm: Not a recognized flag: k

As anyone an idea about this??
Thx
Reply With Quote
Forum Sponsor
  #2  
Old 04-20-2005
Registered User
 

Join Date: Sep 2004
Posts: 9
Try:

rm -rf *ksh_history.xls
Reply With Quote
  #3  
Old 04-20-2005
Registered User
 

Join Date: Apr 2005
Posts: 47
houston:root:/home/admin>rm -rf *ksh_history.xls
/usr/bin/rm: Not a recognized flag: k
Usage: rm [-firRe] [--] File...

It doesn't work!
My systems is a AIX4.3.3
Reply With Quote
  #4  
Old 04-20-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try
rm \-ksh_history.xls
Reply With Quote
  #5  
Old 04-20-2005
Registered User
 

Join Date: Apr 2005
Posts: 47
It doesn't work too...
I known that it's possible but i don't remember!
Reply With Quote
  #6  
Old 04-20-2005
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
rm -rf ./-ksh_history.xls
Reply With Quote
  #7  
Old 04-20-2005
Registered User
 

Join Date: Apr 2005
Posts: 47
Smile

Yes, it's works fine!
Thanks a lot for your help
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:57 PM.


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

Content Relevant URLs by vBSEO 3.2.0