I
I
ivandao2021-05-06 08:33:00
linux
ivandao, 2021-05-06 08:33:00

Why doesn't bash see commands?

Bash doesn't see commands?
60937f765c63a988930011.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
t_q_l, 2021-05-06
@t_q_l

Probably the PATH environment variable from yours .bash_profilehas the wrong value.
Try adding minimal paths by running the following command:

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

and check the execution of the commands. If it works, then fix it. .bash_profile

A
AUser0, 2021-05-06
@AUser0

You will issue the following command in a regular console and in an IDE:
printenv PATH
and compare the result of execution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question