0

I can't quote the name whatever I do.

enter image description here

I noticed that ' is replaced somehow to ` when bash complains.

In the same time I can open file using nautilus.

Any ideas?

4
  • 3
    The quotes are just part of the message, not the filename. Try echo *.dbf | xxd to see the exact character codes (The first character might be P as well as Cyrillic R etc.) Commented Jun 25, 2016 at 23:35
  • oh, God, the first symbol was space - kagda.ru/i/d101556d199_26-06-2016-02:36:41_d101.png . how can I accept your comment as answer? Commented Jun 25, 2016 at 23:38
  • Off-topic: ls | grep xyz = ls xyz Commented Jun 25, 2016 at 23:42
  • @AndreaCorbellini: Not exactly, more similar to ls -d *xyz*. Commented Jun 25, 2016 at 23:49

2 Answers 2

1

The quotes are just part of the message, not the filename. Try echo *.dbf | xxd to see the exact character codes (The first character might be P as well as Cyrillic R etc., or there might be an invisible character somewhere.)

Sign up to request clarification or add additional context in comments.

Comments

0

try escaping the parenthesis

file example\(textinside\).txt 

1 Comment

still the same result

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.