Thursday, May 2, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 9202  / 3 Years ago, mon, september 6, 2021, 2:28:04

Whenever I open my terminal, it displays



bash: config.sh: No such file or directory



followed by the command prompt in the next line. My .bashrc file contains:



source config.sh



I mainly use Ubuntu for Root and Pythia et al, which seem to be working alright, but could someone tell me the possible reason for this? Thank you.


More From » command-line

 Answers
2

You have to find whereis the script config.sh.
Usually you can take it as heritage from some older Phd or postdoc.



Pay attention to the Environment variable of Root too (you can have problem later when you execute compiled macro).



To check if you just have it, try:




  • locate config.sh

  • whereis config.sh

  • find . -name "config.h"



and so on...



Put the ~/ if it is in your home directory.


[#24950] Tuesday, September 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sertold

Total Points: 445
Total Questions: 123
Total Answers: 113

Location: Burundi
Member since Wed, Sep 28, 2022
2 Years ago
;