-1

I am defining a variable on Debian 10 command line but getting the error.

Do anyone know how can I do that?

enter image description here

Thank you,

  • 1
    Your image of text isn't very helpful. It can't be copied into an editor, and it doesn't index very well, meaning that other users with the same problem are less likely to find the answer here. Please [edit] your post to incorporate the relevant text directly (preferably using copy+paste to avoid transcription errors). – Toby Speight Sep 04 '19 at 08:14

1 Answers1

0

Shells are weird in that you're not allowed to have whitespace around the =.

count=10

should work. (Otherwise, the shell thinks you're trying to call a program named count with parameters = and 10.)

(PS: copy-pasting the line and error message is more useful than posting a screenshot. Our colleagues that use screen readers due to visual impairment, for example, had no chance to help you with your question because they can't tell what you did and what the error was.)