D
D
DDwrt1002021-08-02 16:33:16
linux
DDwrt100, 2021-08-02 16:33:16

I broke the terminal with the echo command, how to recover?

Tried to output from a console application to a file using the echo command.
As a result, now when trying to run the console application, an error is generated:

##@ra:~/app $ ./app
./app: line 1: out.txt: command not found

how to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-08-02
@DDwrt100

You have overwritten your application file and now it is just a text file.
How to restore - from a backup if you have one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question