H
H
habruser42022-03-17 19:53:32
linux
habruser4, 2022-03-17 19:53:32

How to fix bash: ./myprogram: No such file or directory?

When installing in the Ubuntu terminal through the command ./myprogram(./myprogram wrote purely for an example), writes bash: ./myprogram: No such file or directory
How to solve?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AVKor, 2022-03-17
@habruser4

when installed in the Ubuntu terminal via the command ./

It's not a setting and it's not a command.
chmod +x myprogram

P
pfg21, 2022-03-17
@pfg21

chmod a+x ./myprogram ??

R
Ruslan Fedoseev, 2022-03-18
@martin74ua

do you have myprogram in the current directory? Is this a bash script?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question