?
Solved

how to delete this kind of file  or directory on linux

Posted on 2014-09-10
3
Medium Priority
?
182 Views
Last Modified: 2014-09-10
Dear Experts,

 I am using linux apache CentOS6, I tried a lot of suggestion from internet and still not able to delete this file/directory with this file/directory  name

 \267s\270\352\256Ƨ\250\ (2)/

And

\267s\274W\244\345\246r\244\345\245\363\ (3).txt

tried this
del  "\\267*.txt"
rm -rf "\\267*"

but both failed

Please advise

Rwniceing
0
Comment
Question by:rwniceing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 2000 total points
ID: 40313914
perl -e 'unlink "\267s\274W\244\345\246r\244\345\245\363\ (3).txt" or warn $!'
perl -e 'rmdir "\267s\270\352\256Ƨ\250\ (2)/" or warn $!'
0
 
LVL 1

Author Closing Comment

by:rwniceing
ID: 40313921
thanks for your reply, it seems perl  is better than on-linux-shell command
0
 
LVL 84

Expert Comment

by:ozo
ID: 40313925
Each has it's advantages.
You might also try something like
rm -i *' (3).txt'
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question