LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2009, 10:15 AM   #1
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Rep: Reputation: 15
Remove file \033[2~evtlog.2009-01-07


Hello,

I have accidently created the file here in AIX \033[2~evtlog.2009-01-07

I am trying to remove but have not been successful. Could you please help and also what is \033[2~

Thanks in advance,

Kind regards,

indiancosmonaut
 
Old 02-10-2009, 11:15 AM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
I have no idea if this is true on AIX, but you should try to escape that backslash and bracket. So...
Code:
rm \\033\[2~evtlog.2009-01-07
Anyway, can't you just type..
Code:
rm \\
..and hit <tab> to use autocompletion?
 
Old 02-10-2009, 12:16 PM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You can try placing the file name in double-quotes. For example:
Code:
rm "\033[2~evtlog.2009-01-07"
 
Old 02-10-2009, 12:32 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Quote:
*** WARNING ***
Always try the command "ls" (to make sure you're really getting the file(s) you expect) before you actually use "rm"!!!!!
Here's a link that might help:
http://www.cyberciti.biz/tips/delete...de-number.html

Good luck .. PSM
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Gran Canaria Desktop Summit 2009 to be Held July 3-11, 2009 LXer Syndicated Linux News 0 11-27-2008 11:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration