Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by rwniceing
at 2024-09-10 01:15:20
Point:500 Replies:3 POST_ID:829229USER_ID:12079
Topic:
Linux;;
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
267s270352256Ƨ250 (2)/
And
267s274W244345246r244345245363 (3).txt
tried this
del "267*.txt"
rm -rf "267*"
but both failed
Please advise
Rwniceing
267s270352256Ƨ250 (2)/
And
267s274W244345246r244345245363 (3).txt
tried this
del "267*.txt"
rm -rf "267*"
but both failed
Please advise
Rwniceing
Expert: ozo replied at 2024-09-10 01:39:04
Each has it's advantages.
You might also try something like
rm -i *' (3).txt'
You might also try something like
rm -i *' (3).txt'
Author: rwniceing replied at 2024-09-10 01:32:39
thanks for your reply, it seems perl is better than on-linux-shell command
Accepted Solution
Expert: ozo replied at 2024-09-10 01:26:12
500 points EXCELLENT
perl -e 'unlink "267s274W244345246r244345245363 (3).txt" or warn $!'
perl -e 'rmdir "267s270352256Ƨ250 (2)/" or warn $!'
perl -e 'rmdir "267s270352256Ƨ250 (2)/" or warn $!'