Solved

how to delete this kind of file  or directory on linux

Posted on 2014-09-10
3
166 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
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 97
Sendmail STARTTLS error 37 79
Error installing extension Linux 4 58
App holding yum lock unable to update my rpm package 1 35
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now