I'm working with the JetBrains Clion IDE. To be able to start Clion from any directory, I added cide/bin
to your $PATH
environment variable. Here cide
is the installation home.
The updated $PATH
variable for the machine is:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:cide/bin
When I try to execute the file clion.sh
that is in cide/bin
gets the error
bash: ./clion.sh: No such file or directory
./
), so the $PATH is not involved. Does the script reside in the current directory? Does it have execute permissions?clion.sh
without./
$PWD/clion.h